Share via


VectorSearchProfile Class

Definition

Defines a combination of configurations to use with vector search.

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

Constructors

VectorSearchProfile(String, String)

Initializes a new instance of VectorSearchProfile.

Properties

AlgorithmConfigurationName

The name of the vector search algorithm configuration that specifies the algorithm and optional parameters.

CompressionName

The name of the compression method configuration that specifies the compression method and optional parameters.

Name

The name to associate with this particular vector search profile.

VectorizerName

The name of the vectorization being configured for use with vector search.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VectorSearchProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VectorSearchProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VectorSearchProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VectorSearchProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VectorSearchProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to