Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
- Confirmed Understanding: You have an application that integrates a chatbot powered by OpenAI with Azure Cognitive Search. The chatbot interacts with an index in Azure Cognitive Search, which was created using the 2023-11-01 API version. However, it appears that the chatbot is using the 2023-07-01-Preview API version instead.
- Answer: It seems there might be some confusion regarding the versioning of Azure Search and Azure OpenAI. Here’s a clearer explanation:
- Azure Search Version: When you create an index in Azure Search, you specify an API version, in this case, 2023-11-01. This version is used throughout the lifecycle of the index, including any queries made to it. Therefore, any interaction with this index, regardless of the client (in this case, the OpenAI chatbot), will use the 2023-11-01 version.
- Azure OpenAI Version: Azure OpenAI uses its own versioning system independent of Azure Search. In your case, it seems to be using the 2023-07-01-Preview version. This version pertains to the features and capabilities of the OpenAI service itself, not the Azure Search service. You can check the available versions and update to the latest one if necessary by referring to the official Azure OpenAI documentation. (https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#embeddings)
I hope this provides a clearer understanding of the versioning systems of Azure Search and Azure OpenAI, and how they interact in your application.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.