Share via


EmbeddingConfiguration Class

Definition

Embedding configuration class.

public class EmbeddingConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.EmbeddingConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.EmbeddingConfiguration>
type EmbeddingConfiguration = class
    interface IJsonModel<EmbeddingConfiguration>
    interface IPersistableModel<EmbeddingConfiguration>
Public Class EmbeddingConfiguration
Implements IJsonModel(Of EmbeddingConfiguration), IPersistableModel(Of EmbeddingConfiguration)
Inheritance
EmbeddingConfiguration
Implements

Constructors

EmbeddingConfiguration(String, String)

Initializes a new instance of EmbeddingConfiguration.

Properties

EmbeddingField

Embedding field.

ModelDeploymentName

Deployment name of embedding model. It can point to a model deployment either in the parent AIServices or a connection.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EmbeddingConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EmbeddingConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EmbeddingConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EmbeddingConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EmbeddingConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to