Share via


AzureOpenAIModelConfiguration Class

Definition

Azure OpenAI model configuration. The API version would be selected by the service for querying the model.

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

Constructors

AzureOpenAIModelConfiguration(String)

Initializes a new instance of AzureOpenAIModelConfiguration.

Properties

ModelDeploymentName

Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based connection_name/deployment_name (i.e. my-aoai-connection/gpt-4o.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AzureOpenAIModelConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureOpenAIModelConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<TargetConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from TargetConfig)
IPersistableModel<AzureOpenAIModelConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureOpenAIModelConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureOpenAIModelConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<TargetConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from TargetConfig)

Applies to