SearchModelFactory.VectorSearchTopicGraphProfile 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.
Defines a topic graph profile for a single vector field.
public static Azure.Search.Documents.Indexes.Models.VectorSearchTopicGraphProfile VectorSearchTopicGraphProfile(string name = default, string indexName = default, Azure.Search.Documents.Models.VectorSearchTopicGraphKind defaultKind = default, float? defaultDiversityFactor = default, int? defaultMinDiversityPoolSize = default);
static member VectorSearchTopicGraphProfile : string * string * Azure.Search.Documents.Models.VectorSearchTopicGraphKind * Nullable<single> * Nullable<int> -> Azure.Search.Documents.Indexes.Models.VectorSearchTopicGraphProfile
Public Shared Function VectorSearchTopicGraphProfile (Optional name As String = Nothing, Optional indexName As String = Nothing, Optional defaultKind As VectorSearchTopicGraphKind = Nothing, Optional defaultDiversityFactor As Nullable(Of Single) = Nothing, Optional defaultMinDiversityPoolSize As Nullable(Of Integer) = Nothing) As VectorSearchTopicGraphProfile
Parameters
- name
- String
The name to associate with this topic graph profile.
- indexName
- String
The name of the index that stores the topics for the associated vector field.
- defaultKind
- VectorSearchTopicGraphKind
Default kind of topic graph vector search to use.
Default diversity factor for topic graph vector searches. This property can only be used when defaultKind is diverse. Default is 0.2.
Default minimum number of vector candidates to retrieve before topic graph sampling. This property can only be used when defaultKind is diverse or balanced. The default is 1,000.
Returns
A new VectorSearchTopicGraphProfile instance for mocking.