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

generative-openai module is using a deprecated API version - Azure stopping support on 2 April 2024 #4126

Closed
1 task done
felixthekraut opened this issue Feb 2, 2024 · 3 comments
Labels

Comments

@felixthekraut
Copy link

How to reproduce this bug?

The generative-openai module is using a deprecated API version for chat completions. Azure has notified its customers that the 2023-03-15-preview version is deprecated and will be fully retired (aka no longer accept API requests) on 2 April 2024. Azure is advising to migrate to 2023-12-01-preview.

The 2023-03-15-preview version is referenced in

queryParam := "api-version=2023-03-15-preview"

My recommendation is to upgrade to the new API version before the end of February in order to allow Azure users at least one month (March) to upgrade their Weaviate instances.

What is the expected behavior?

Utilize 2023-12-01-preview API version and avoid service disruptions for users leveraging Azure.

What is the actual behavior?

The generative-openai module uses the 2023-03-15-preview version and will cease to function for Azure customers on 2 April 2024.

Supporting information

For context, here is the email Azure sent to its customers:

Update your code to use the latest Azure OpenAI Service preview API by 2 April 2024
You're receiving this email because you've used an older Azure OpenAI Service preview API in the last 30 days.
We recently made Azure OpenAI API version 2023-12-01-preview available. You'll need to update any code that uses the following older versions before they're retired on 2 April 2024:
• 2023-03-15-preview
• 2023-06-01-preview
• 2023-07-01-preview
• 2023-08-01-preview
• 2023-09-15-preview
The 2023-12-01 preview version includes improvements such as support for DALL-E 3.0 and enhanced content filtering.
Required action
To avoid potential service disruptions, update your code that uses any of the retiring Azure OpenAI API versions to use version 2023-12-01 by 2 April 2024.

Server Version

1.23.7

Code of Conduct

@dudanogueira
Copy link
Contributor

Hi! It will be updated soon: #4124
Thanks!

@felixthekraut
Copy link
Author

@dudanogueira I see your PR but it looks like it is defaulting the version to 2022-12-01 or am I missing something?

@felixthekraut
Copy link
Author

@dudanogueira sorry I was looking at the wrong PR, disregard my comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants