Update default API version to 2024-10-21 #166
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes updates to the API version for Azure OpenAI Service across various configuration files and documentation, as well as some minor code improvements. The most important changes include updating the default API version to
2024-10-21
and adding new API versions in the documentation.API Version Updates:
README.md
: Updated the default API version to2024-10-21
and added2024-10-01-preview
and2024-10-21
as new versions. [1] [2]samples/ChatGptApi/appsettings.json
: Changed the default API version to2024-10-21
.samples/ChatGptConsole/appsettings.json
: Updated the default API version to2024-10-21
.samples/ChatGptFunctionCallingConsole/appsettings.json
: Set the default API version to2024-10-21
.samples/ChatGptStreamConsole/appsettings.json
: Modified the default API version to2024-10-21
.src/ChatGptNet/ServiceConfigurations/AzureChatGptServiceConfiguration.cs
: Updated the default API version to2024-10-21
and added new API versions2024-10-01-preview
and2024-10-21
. [1] [2]Code Improvements:
samples/ChatGptStreamConsole/Application.cs
: Removed an unused import and simplified the response handling inExecuteAsync
. [1] [2]src/ChatGptNet/Models/ChatGptResponse.cs
: Added aToString
method to get the content of the response.