How to update AI language API version to 2024-11-05-preview

Tejaswara Mandadi 0 Reputation points
2025-02-05T12:38:17.5833333+00:00

i can see following warning about old version will retire soon and need to update latest preview version mentioned in below. I am unable to find right solution to resolve this issue. Could any one please help on this?

Azure AI Language preview APIs 2024-05-15-preview or earlier will be retired on 31 March 2025

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
445 questions
{count} votes

1 answer

Sort by: Most helpful
  1. santoshkc 12,185 Reputation points Microsoft Vendor
    2025-02-05T14:47:13.8166667+00:00

    Hi @Tejaswara Mandadi,

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.