DataSourceVectorizer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A representation of a data vectorization source usable as an embedding resource with a data source. Please note this is the abstract base class. The derived classes available for instantiation are:
[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) | |
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions) | |
PersistableModelWriteCore(ModelReaderWriterOptions) |
Operators
Explicit(ClientResult to DataSourceVectorizer) | |
Implicit(DataSourceVectorizer to BinaryContent) |
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
Azure SDK for .NET