The short answer

Test internal search changes against representative questions and reviewed source passages. Compare retrieval before judging the generated answer, inspect failures by question type and keep versioned evidence of what changed. A better average score does not settle every important user journey.

At a glance

  • Keep representative questions with reviewed, versioned source passages.
  • Inspect retrieved evidence separately from the quality of the generated answer.
  • Review important misses individually and record the limits of the acceptance sample.

The folder is tidier. The answer is harder to find.

A fictional procurement team reorganises its operating procedures. One long handbook becomes several shorter documents, and headings become clearer. Afterwards, an internal assistant answers a question about approving an urgent purchase with the ordinary purchasing procedure. The relevant exception still exists, but the search no longer brings it into view. This is an illustrative example, not an Invade Core client result. Before changing the prompt, inspect the evidence the assistant actually received. The practical buying question is whether the search can still find the passages people need after the knowledge base changes.

Keep the question and the evidence together

Choose a modest set of questions with the people who use the procedures. Include their ordinary wording, abbreviations and questions that need an exception rather than the main rule. For each, record the information need, approved source version and passage that would help answer it. Elastic describes ranking evaluation around a document collection, typical queries and relevance ratings for each query. Our proposed review would have a procedure owner judge whether each returned passage is useful, partly useful or irrelevant. Record disagreements instead of silently forcing consensus. Where no approved source answers a question, label the gap explicitly rather than inventing a correct document for the test.[1]

Inspect retrieval before rewriting the answer

Run the same questions against the old and proposed search setup using authorised test access. Save the retrieved passages, their order and the configuration version before looking at a generated response. Microsoft distinguishes document-retrieval evaluation against relevance labels from groundedness evaluation of an answer against its supplied context. That distinction matters here: a response could faithfully describe the ordinary procedure while missing the exception the buyer asked about. For our procurement team, first ask whether the exception reached the retrieved context. Only then examine whether the answer used it correctly. Keep the source excerpts available to the reviewer rather than presenting an unexplained score.[2]

Compare the awkward questions separately

Look at individual failures as well as the overall result. We would separate ordinary purchasing, urgent exceptions and questions with no supported answer. Agree in advance which important misses would stop rollout and which need further review. If a search setting changes, compare it on a fixed document snapshot; if the documents change, record that separately. Where a document has been split or replaced, update its evidence mapping with the owner and preserve the old version for comparison. A relevance rating belongs to a question and a particular source, not permanently to a filename. This proposed discipline helps the team identify what it changed without pretending every variation can be isolated perfectly.

Make the release decision reviewable

Give the release owner a short record of the questions tested, source versions, retrieved evidence, unresolved misses and the person responsible for each fix. Keep some questions aside from day-to-day tuning, then use them for a final check so the exercise does not become a demonstration of only the examples engineers already know. Repeat the review after material changes to documents, extraction or search settings. This is a practical acceptance sample, not proof that every question will work. Permissions, latency and the correctness of the source itself still need their own checks. For the procurement team, the decision is concrete: can the proposed search find the exception, and can someone explain the remaining gaps before colleagues rely on it?

Sources and further reading

  1. Elastic — Ranking evaluation: typical queries and per-query relevance ratings ↗
  2. Microsoft Foundry — RAG evaluators: document retrieval and groundedness ↗

Put the perspective into practice.

Explore Artificial Intelligence & Intelligent Systems