AzureOpenAIClientOptions(AzureOpenAIClientOptions+ServiceVersion) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The service API version to use with the client.
Exceptions
The provided service API version is not supported.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET