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_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
The service API version to use with the client.
Exceptions
The provided service API version is not supported.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET