Skip to content

Commit

Permalink
Update Azure OpenAI API version to 2024-05-01-preview
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marcominerva committed Jun 26, 2024
1 parent cab6101 commit 7d871ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Configures Azure OpenAI Service settings.

```csharp
public static ChatGptOptionsBuilder UseAzure(this ChatGptOptionsBuilder builder,
string resourceName, string apiKey, string apiVersion = "2024-04-01-preview",
string resourceName, string apiKey, string apiVersion = "2024-05-01-preview",
AzureAuthenticationType authenticationType = AzureAuthenticationType.ApiKey)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class AzureChatGptServiceConfiguration : ChatGptServiceConfiguration
public string? ResourceName { get; set; }

/// <summary>
/// Gets or sets the API version of the Azure OpenAI service (Default: 2024-04-01-preview).
/// Gets or sets the API version of the Azure OpenAI service (Default: 2024-05-01-preview).
/// </summary>
/// <remarks>
/// Currently supported versions are:
Expand Down

0 comments on commit 7d871ad

Please sign in to comment.