你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataSourceVectorizer Class

Definition

A representation of a data vectorization source usable as an embedding resource with a data source. Please note DataSourceVectorizer is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes..

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.OpenAI.Chat.InternalUnknownAzureChatDataSourceVectorizationSource))]
public abstract class DataSourceVectorizer : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Chat.DataSourceVectorizer>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Chat.DataSourceVectorizer>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.OpenAI.Chat.InternalUnknownAzureChatDataSourceVectorizationSource))>]
type DataSourceVectorizer = class
    interface IJsonModel<DataSourceVectorizer>
    interface IPersistableModel<DataSourceVectorizer>
Public MustInherit Class DataSourceVectorizer
Implements IJsonModel(Of DataSourceVectorizer), IPersistableModel(Of DataSourceVectorizer)
Inheritance
DataSourceVectorizer
Attributes
Implements

Constructors

DataSourceVectorizer()

Initializes a new instance of DataSourceVectorizer.

Methods

FromDeploymentName(String)
FromEndpoint(Uri, DataSourceAuthentication)

Creates a new data source embedding dependency reference from an authenticated endpoint.

FromIntegratedResource()
FromModelId(String)

Explicit Interface Implementations

IJsonModel<DataSourceVectorizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataSourceVectorizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataSourceVectorizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataSourceVectorizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataSourceVectorizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to