OnYourDataVectorizationSource Class

Definition

An abstract representation of a vectorization source for Azure OpenAI On Your Data with vector search. Please note OnYourDataVectorizationSource 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. The available derived classes include OnYourDataDeploymentNameVectorizationSource, OnYourDataEndpointVectorizationSource and OnYourDataModelIdVectorizationSource.

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

Constructors

OnYourDataVectorizationSource()

Initializes a new instance of OnYourDataVectorizationSource.

Explicit Interface Implementations

IJsonModel<OnYourDataVectorizationSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OnYourDataVectorizationSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OnYourDataVectorizationSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OnYourDataVectorizationSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OnYourDataVectorizationSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to