Why i getting different context for same question means original question and the rephrased question from Azure AI Search

Abhishek Biswas 0 Reputation points
2024-12-06T07:18:44.4233333+00:00

Can any one answer, why i getting different context for same question means original question and the rephrased question from Azure AI Search, for example:

  1. i asked "the engine is creating abnormal noise. please tell me the details ?"
  2. then i ask "engine creating abnormal noise ?"
    Here i am getting different answer when passing the retrieved context to llm.
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.
1,339 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 5,395 Reputation points Microsoft External Staff Moderator
    2024-12-06T16:33:39.5433333+00:00

    Hi @Abhishek Biswas
    Thanks for the question and using MS Q&A platform.
    To get different answers for the same question with Azure AI Search, here’s a simple explanation of why this happens:
    1.  Query Rewriting:

    1. Different Context from Rephrased Queries:

    When you change the wording, Azure AI Search understands the question differently. For example:

    "The engine is creating abnormal noise. Please tell me the details?" might retrieve detailed info about engine problems.

    "Engine creating abnormal noise?" might retrieve more general information, or even just related causes.

    1. Semantic Search:

    Azure AI Search uses semantic search to understand the meaning of the question. A rephrased query might lead it to find different relevant results based on the meaning, not just the exact words.

    Semantic ranking - Azure AI Search | Microsoft Learn

    The way you phrase the question matters.

    If you make the question shorter or change the wording, the system might retrieve different answers.

    The retrieved information depends on how Azure AI Search interprets your query and re-ranks the results based on relevance.

    I hope this information is helpful.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    1 person found this answer helpful.

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.