Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: upgrade latest Azure OpenAI GA api version #10117

Closed
moonbox3 opened this issue Jan 8, 2025 · 0 comments · Fixed by #10118
Closed

Python: upgrade latest Azure OpenAI GA api version #10117

moonbox3 opened this issue Jan 8, 2025 · 0 comments · Fixed by #10118
Assignees
Labels
python Pull requests for the Python Semantic Kernel triage

Comments

@moonbox3
Copy link
Contributor

moonbox3 commented Jan 8, 2025

Latest is 2024-10-21: https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation

@moonbox3 moonbox3 self-assigned this Jan 8, 2025
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel triage labels Jan 8, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 9, 2025
### Motivation and Context

The current DEFAULT_AZURE_API_VERSION is stale at 2024-06-01. The
[latest GA API
VERSION](https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation#latest-ga-api-release)
is 2024-10-21.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

This PR upgrades the DEFAULT_AZURE_API_VERSION to be the latest GA
2024-10-21. This default version is used if an api_version is not
supplied to the AzureChatCompletion constructor.
- Closes #10117

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel triage
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants