RAG

RAG that actually answers: a practical checklist

Most retrieval-augmented chatbots fail at retrieval, not generation. Here is the checklist we use before any RAG assistant goes live.

Key takeaways

  1. 01Most RAG failures are retrieval failures — fix search before prompts.
  2. 02Chunk by meaning, use hybrid search and make citations mandatory.
  3. 03Ship with an evaluation set and re-run it on every change.
  • #RAG
  • #embeddings
  • #evaluation

Retrieval-augmented generation sounds simple: find relevant passages, hand them to the model, get a grounded answer. In practice most bad answers come from the 'find relevant passages' step. Fix retrieval first.

1. Chunk by meaning, not by character count

Split on headings, sections and list boundaries. Keep each chunk self-contained, and attach its title path (Document › Section › Subsection) so the model knows where it came from.

Embeddings are great at paraphrases and terrible at exact identifiers like invoice numbers, drug names or error codes. Hybrid search — vector plus keyword — and a re-ranking step fix a surprising share of misses.

3. Make citations mandatory

Ask the model to cite the chunk IDs it used, and show those sources in the UI. If it can't cite, it should say it doesn't know. Citations make wrong answers visible and right answers trustworthy.

4. Build an evaluation set before launch

  1. Collect 50–100 real questions from support tickets or sales calls.
  2. Write the expected answer and the source document for each.
  3. Measure retrieval hit-rate separately from answer quality.
  4. Re-run the set on every prompt, model or chunking change.

5. Keep the index fresh

Stale documents produce confident, outdated answers. Re-index on change, store a 'last updated' date with each chunk and prefer newer sources when two disagree.