Thank you for reaching out to Microsoft Q&A forum!
To update the Azure AI Language API to the latest version, 2024-11-05-preview, you will need to modify your API calls to reference the new version. Here's how to do it:
Update the API Version in Your Requests: Change the API version in your request URL to 2024-11-05-preview
as shown below:
POST {Endpoint}/language/:analyze-text?api-version=2024-11-05-preview
Ensure Compatibility with New Features: The new version includes updated features and task types such as entity recognition, sentiment analysis, key phrase extraction, etc. You may need to adjust your request bodies based on these tasks (like AnalyzeTextEntityRecognitionInput
, AnalyzeTextSentimentAnalysisInput
, etc.) according to your use case.
Authentication: Use your API key or OAuth2 for authentication when making requests.
By updating to the latest version, you’ll avoid disruptions caused by the retirement of the older version. Please review the documentation for more details.
I hope you understand. Thank you.