how to fix this change in Bing Spell check API, it is now combined with bing search service

austin 0 Reputation points
2023-11-14T21:40:35.7033333+00:00

I am using this code provided by chatgpt to find spell check (grammar error). I came to know that Bing spell check is now (Bing Spellcheck is an API under Bing Search Service).

Now that my endpoint shows this:

User's image

How can I fix this and get this code running? Python code returns no output because of the endpoint:
1

Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
128 questions
Bing Spell Check
Bing Spell Check
A Bing service that detects and corrects spelling mistakes in your app.
30 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
722 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 17,125 Reputation points Microsoft Employee
    2023-11-15T05:02:15.73+00:00

    @austin Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
    .
    I understand that you are facing an issue with your code that uses the Bing Spell Check API also your Python code returns no output because of the endpoint.

    .
    As you rightly pointed it out, Since 10/31/23 Bing Spell APIs created under Azure Cognitive Services are no longer be supported, those APIs are decommissioned and not functioning anymore. Start using the Azure Marketplace to create new instances of Bing Search APIs. More info here.  
    .

    Please note that the endpoint for Bing spell check is: https://api.bing.microsoft.com/v7.0/spellcheck Fore more info, see the calling the API article mentioned here.
    .

    To check if the issue is with your app or the API itself, please run the below curl command:

    curl -H "Ocp-Apim-Subscription-Key: XXXXXXXXXXX" https://api.bing.microsoft.com/v7.0/spellcheck?text=when+its+your+turn+turn,+john,+come+runing&mode=spell
    

    If this works fine, the issue is related to your app which we need to troubleshoot.

    I am also sharing the Bing API pricing article if that helps.

    .
    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
    .
    **
    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments