Skip to content

Commit 7d871ad

Browse files
committed
Update Azure OpenAI API version to 2024-05-01-preview
Updated the Azure OpenAI Service API version from `2024-04-01-preview` to `2024-05-01-preview` in both the `UseAzure.md` documentation and the `AzureChatGptServiceConfiguration.cs` source file. This change affects the `UseAzure` method and the `ApiVersion` property in the `AzureChatGptServiceConfiguration` class, ensuring the service uses the latest API version.
1 parent cab6101 commit 7d871ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ChatGptNet/ChatGptOptionsBuilderExtensions/UseAzure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Configures Azure OpenAI Service settings.
44

55
```csharp
66
public static ChatGptOptionsBuilder UseAzure(this ChatGptOptionsBuilder builder,
7-
string resourceName, string apiKey, string apiVersion = "2024-04-01-preview",
7+
string resourceName, string apiKey, string apiVersion = "2024-05-01-preview",
88
AzureAuthenticationType authenticationType = AzureAuthenticationType.ApiKey)
99
```
1010

src/ChatGptNet/ServiceConfigurations/AzureChatGptServiceConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ internal class AzureChatGptServiceConfiguration : ChatGptServiceConfiguration
1818
public string? ResourceName { get; set; }
1919

2020
/// <summary>
21-
/// Gets or sets the API version of the Azure OpenAI service (Default: 2024-04-01-preview).
21+
/// Gets or sets the API version of the Azure OpenAI service (Default: 2024-05-01-preview).
2222
/// </summary>
2323
/// <remarks>
2424
/// Currently supported versions are:

0 commit comments

Comments
 (0)