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

austin 0 Reputation points

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:

Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
110 questions
Bing Spell Check
Bing Spell Check
A Bing service that detects and corrects spelling mistakes in your app.
28 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.
509 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 9,570 Reputation points Microsoft Employee

    @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: 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",+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