Share via


AzureOpenAIVectorizer Class

Definition

Specifies the Azure OpenAI resource used to vectorize a query string.

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

Constructors

AzureOpenAIVectorizer(String)

Initializes a new instance of AzureOpenAIVectorizer.

Properties

Parameters

Contains the parameters specific to Azure OpenAI embedding vectorization.

VectorizerName

The name to associate with this particular vectorization method.

(Inherited from VectorSearchVectorizer)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AzureOpenAIVectorizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureOpenAIVectorizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<VectorSearchVectorizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from VectorSearchVectorizer)
IJsonModel<VectorSearchVectorizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from VectorSearchVectorizer)
IPersistableModel<AzureOpenAIVectorizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureOpenAIVectorizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureOpenAIVectorizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<VectorSearchVectorizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from VectorSearchVectorizer)
IPersistableModel<VectorSearchVectorizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from VectorSearchVectorizer)
IPersistableModel<VectorSearchVectorizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from VectorSearchVectorizer)

Applies to