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: Update AzureOpenAI version to latest versions. #5561
Conversation
…ed to latest preview (2024-02-15-preview). Use .env AOAI api versions where possible.
Will hold off on this PR until the OYD code is updated to handle the changes in 2024-02-15-preview. |
@@ -48,7 +48,7 @@ | |||
deployment_name="gpt-35-turbo-16k", | |||
api_key=api_key, | |||
endpoint=endpoint, | |||
api_version="2023-12-01-preview", | |||
api_version=api_version, | |||
use_extensions=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can get rid of this with the latest api versions...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by this comment? Get rid of what?
Handled in another PR. |
Motivation and Context
An AzureOpenAI API version is deprecated soon. We need to update to the latest supported versions.
Description
This PR makes sure we're using the latest GA/preview AOAI Api Versions where needed. It also uses the .env file so that API versions are not hard-coded for some kernel examples. Closes #5523
Contribution Checklist