OnYourDataModelIdVectorizationSource Class

Definition

The details of a a vectorization source, used by Azure OpenAI On Your Data when applying vector search, that is based on a search service model ID. Currently only supported by Elasticsearch®.

public class OnYourDataModelIdVectorizationSource : Azure.AI.OpenAI.OnYourDataVectorizationSource, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.OnYourDataModelIdVectorizationSource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.OnYourDataModelIdVectorizationSource>
type OnYourDataModelIdVectorizationSource = class
    inherit OnYourDataVectorizationSource
    interface IJsonModel<OnYourDataModelIdVectorizationSource>
    interface IPersistableModel<OnYourDataModelIdVectorizationSource>
Public Class OnYourDataModelIdVectorizationSource
Inherits OnYourDataVectorizationSource
Implements IJsonModel(Of OnYourDataModelIdVectorizationSource), IPersistableModel(Of OnYourDataModelIdVectorizationSource)
Inheritance
OnYourDataModelIdVectorizationSource
Implements

Constructors

OnYourDataModelIdVectorizationSource(String)

Initializes a new instance of OnYourDataModelIdVectorizationSource.

Properties

ModelId

The embedding model ID build inside the search service. Currently only supported by Elasticsearch®.

Explicit Interface Implementations

IJsonModel<OnYourDataModelIdVectorizationSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OnYourDataModelIdVectorizationSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<OnYourDataVectorizationSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from OnYourDataVectorizationSource)
IPersistableModel<OnYourDataModelIdVectorizationSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OnYourDataModelIdVectorizationSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OnYourDataModelIdVectorizationSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<OnYourDataVectorizationSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from OnYourDataVectorizationSource)

Applies to