RAG (retrieval-augmented generation) usually gets introduced as "letting the model look things up." That is accurate, and not very useful. It describes the mechanism and skips the decision.

The decision is what your system is allowed to answer from.

The closed-book problem

Out of the box, an LLM answers from training. Everything it absorbed, frozen at a cutoff, with no way to know which parts apply to you. Ask it about your refund policy and it will confidently produce a refund policy: a plausible average of every refund policy on the public internet.

RAG changes the exam format. Before the model writes a word, the system fetches relevant material and puts it in front of it: answer from this, not from memory.

The consequence people miss is that the model guesses less about things it never knew while reasoning no better than before. That is a narrower claim than most RAG marketing makes, and a far more useful one.

Your quality ceiling moves

Once you add retrieval, answer quality stops being mostly a model property and becomes mostly a retrieval property.

That trade is worth making, but be clear about what you have signed up for. A weak model with excellent evidence produces a decent answer. A strong model with the wrong three paragraphs produces an articulate, well-structured, completely wrong answer, and it will look more trustworthy than the first one, because fluency scales with model quality while correctness scales with what you fed it.

Many "the model is hallucinating" escalations turn out to be the model faithfully summarising the wrong pages.

Three decisions that outlive your tech stack

Your vector database will get replaced. These will not:

  • What counts as a trusted source: which documents may an answer be built on? Somebody decides this. If nobody decides explicitly, ingestion decides it accidentally, by whatever it happened to crawl.
  • What a claim has to carry: if an answer asserts something material, can a reviewer trace it to a specific passage in under a minute? Design that path now by storing every chunk with its document ID, version and position from the moment it is indexed, because retrofitting provenance is painful.
  • What happens when evidence is thin: this is the one that gets skipped when every demo question has an answer in the corpus, and it is the one users judge you on. Hedge, escalate, or say plainly that nothing solid was found, but pick, because the default is to generate anyway. Detecting it needs a signal, such as a minimum relevance score, and that threshold is a trade: set it high and the system declines answerable questions; set it low and thin evidence gets through.

A test you can run this week

Take one real user question. Trace it end to end, recording what got retrieved, in what order, which passages reached the model, and which sentences in the final answer came from which passage.

One question, done properly, tells you more about your RAG system than a dashboard of aggregate scores. You are looking for the gap between what the answer asserted and what the evidence actually supported.

Let the trace pick the fix

Chunking, hybrid search, reranking and citations all refine the same habit of answering from evidence you chose, and the trace tells you which one to work on. If the right passage was never retrieved, look at ingestion and chunking. If it was retrieved but ranked below the cut-off, look at ranking, with hybrid search or a reranker. If it reached the model and the answer still drifted from it, look at the prompt and the citation check.

Before any of that, list the sources in your index and the owner of each, and flag every source without an owner, because nobody decided to trust it.

About this explainer

Format
Explainer
Level
Practitioner
Read
2 min read
Published
Jun 1, 2026

Short mental models: one idea, why it matters, what to do about it.

Checklist · · 12 checks

RAG production-readiness checklist

Twelve checks to pass before a retrieval system answers a real user. Tick them locally; progress stays in your browser.