다음을 통해 공유


WebApiVectorizer Class

Definition

Specifies a user-defined vectorizer for generating the vector embedding of a query string. Integration of an external vectorizer is achieved using the custom Web API interface of a skillset.

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

Constructors

WebApiVectorizer(String)

Initializes a new instance of WebApiVectorizer.

Properties

Parameters

Specifies the properties of the user-defined vectorizer.

VectorizerName

The name to associate with this particular vectorization method.

(Inherited from VectorSearchVectorizer)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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)
IJsonModel<WebApiVectorizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebApiVectorizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<WebApiVectorizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebApiVectorizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebApiVectorizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to