ภาษา

VectorSearchTopicGraphProfile Class

Definition

Defines a topic graph profile for a single vector field.

public class VectorSearchTopicGraphProfile : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.VectorSearchTopicGraphProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.VectorSearchTopicGraphProfile>
type VectorSearchTopicGraphProfile = class
    interface IJsonModel<VectorSearchTopicGraphProfile>
    interface IPersistableModel<VectorSearchTopicGraphProfile>
Public Class VectorSearchTopicGraphProfile
Implements IJsonModel(Of VectorSearchTopicGraphProfile), IPersistableModel(Of VectorSearchTopicGraphProfile)
Inheritance
VectorSearchTopicGraphProfile
Implements

Constructors

Name Description
VectorSearchTopicGraphProfile(String, String, VectorSearchTopicGraphKind)

Initializes a new instance of VectorSearchTopicGraphProfile.

Properties

Name Description
DefaultDiversityFactor

Default diversity factor for topic graph vector searches. This property can only be used when defaultKind is diverse. Default is 0.2.

DefaultKind

Default kind of topic graph vector search to use.

DefaultMinDiversityPoolSize

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.

IndexName

The name of the index that stores the topics for the associated vector field.

Name

The name to associate with this topic graph profile.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VectorSearchTopicGraphProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VectorSearchTopicGraphProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VectorSearchTopicGraphProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VectorSearchTopicGraphProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VectorSearchTopicGraphProfile>.Write(ModelReaderWriterOptions)

Applies to