[206 error AI Search] - semantic hybrid search returns 'Parital Content' Error.

Mahnoor Siddiqui 5 Reputation points

We are constantly encountering a 206 Partial Content error when requesting a semantic hybrid search. Is there any ETA for its resolution?

The error appears transient, but it occurs with every API call.

    "@odata.context": "https://srch-aichatbot-dev.search.windows.net/indexes('custom-contents')/$metadata#docs(*)",
    "@search.semanticPartialResponseReason": "Transient",
    "@search.semanticPartialResponseType": "BaseResults",
    "value": [
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.
865 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 20,856 Reputation points

    @Mahnoor Siddiqui Thanks for asking question!

    Returning a 206 means that the semantic ranker gave partial responses due to capacity issues and fell back to the original L1 results (text, vector, hybrid) and returned as many reranked results as it could depending on the semantic error mode value (fail/partial). 

    User's image

    User's image

    0 comments No comments

  2. SnehaAgrawal-MSFT 20,856 Reputation points

    @Mahnoor Siddiqui You can build the message that works best for your end users in which they handle the 206 HTTP code response with a message to the end users such as

    "at this time, the system is not able to provide the best answer to your query since it is experiencing a capacity problem, and only capable of providing partial responses, please try again later"

    or something similar.

    It's really up to you which message to display.

    Hope this helps.

    0 comments No comments