Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.91k stars 4.05k forks source link

Update your code to use the latest Azure OpenAI Service , you've used an older Azure OpenAI Service preview API in the last 30 days. #1484

Open BitcoinCode opened 5 months ago

BitcoinCode commented 5 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I keep getting email about the below from Microsoft, I am running an old stable version of this repo where it uses api_version 2022-12-01, do I need to change this to the latest api_version or this will still work as it is still supported version ?

Update your code to use the latest Azure OpenAI Service preview API by 1 July 2024 You're receiving this email because you've used an older Azure OpenAI Service preview API in the last 30 days. We recently let you know that some older API versions would be retired on 2 April 2024. However, in response to customer feedback, we're extending the retirement date for these API versions to 1 July 2024: • 2023-03-15-preview • 2023-06-01-preview • 2023-07-01-preview • 2023-08-01-preview • 2023-09-01-preview

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) ubuntu 22.04

azd version?

run azd version and copy paste here. 1.3.0

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

pamelafox commented 5 months ago

Per the emails, you should try to switch over to a newer version as soon as possible, to avoid any issues when old versions are turned off. The app currently uses version "2024-03-01-preview". Do you know if your version of the app code is using the old completion API, or if it's using the chat completion API? If it's using chat completions, then I think it shouldn't be an issue to upgrade to a new version.