Share via


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_06_01);
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_06_01)
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