SearchModelFactory.DiverseVectorQueryTopicGraph Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uses topic graph diverse retrieval.
public static Azure.Search.Documents.Models.DiverseVectorQueryTopicGraph DiverseVectorQueryTopicGraph(float? diversityFactor = default, int? minDiversityPoolSize = default);
static member DiverseVectorQueryTopicGraph : Nullable<single> * Nullable<int> -> Azure.Search.Documents.Models.DiverseVectorQueryTopicGraph
Public Shared Function DiverseVectorQueryTopicGraph (Optional diversityFactor As Nullable(Of Single) = Nothing, Optional minDiversityPoolSize As Nullable(Of Integer) = Nothing) As DiverseVectorQueryTopicGraph
Parameters
The diversity factor used for topic graph diverse retrieval. If omitted, the default configured on the topic graph profile is used.
The minimum number of vector candidates to retrieve before topic graph sampling. The default is 1,000.
Returns
A new DiverseVectorQueryTopicGraph instance for mocking.