次の方法で共有


AzureOpenAIClientOptions(AzureOpenAIClientOptions+ServiceVersion) Constructor

Definition

Initializes a new instance of AzureOpenAIClientOptions

public AzureOpenAIClientOptions (Azure.AI.OpenAI.AzureOpenAIClientOptions.ServiceVersion version = Azure.AI.OpenAI.AzureOpenAIClientOptions+ServiceVersion.V2024_10_21);
public AzureOpenAIClientOptions (Azure.AI.OpenAI.AzureOpenAIClientOptions.ServiceVersion version = Azure.AI.OpenAI.AzureOpenAIClientOptions+ServiceVersion.V2024_10_01_Preview);
new Azure.AI.OpenAI.AzureOpenAIClientOptions : Azure.AI.OpenAI.AzureOpenAIClientOptions.ServiceVersion -> Azure.AI.OpenAI.AzureOpenAIClientOptions
Public Sub New (Optional version As AzureOpenAIClientOptions.ServiceVersion = Azure.AI.OpenAI.AzureOpenAIClientOptions+ServiceVersion.V2024_10_21)
Public Sub New (Optional version As AzureOpenAIClientOptions.ServiceVersion = Azure.AI.OpenAI.AzureOpenAIClientOptions+ServiceVersion.V2024_10_01_Preview)

Parameters

version
AzureOpenAIClientOptions.ServiceVersion

The service API version to use with the client.

Exceptions

The provided service API version is not supported.

Applies to