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

Mahnoor Siddiqui 5 Reputation points
2024-06-20T09:40:57.6833333+00:00

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.
980 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,506 Reputation points
    2024-06-24T12:51:57.93+00:00

    @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 21,506 Reputation points
    2024-06-26T06:05:54.76+00:00

    @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

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.