Retrieval · L2 · 15 min
Retrieve, then read
Learn in five minutes
- Search returns candidates. Reading decides.
- The answer should quote or point at the passage.
- If two passages disagree, say so.
- Do not blend them into a third fact.
- The reader is the person who must trust the quote.
A contact-center style note and a policy note can disagree about a refund. The grounded reply names both and does not invent a compromise number.
Visual
Two disagreeing notes
- Note A: the example window is 7 days.
- Note B: the example window is 14 days.
- The reply says the notes disagree and quotes both.
- It does not output 10 as a compromise.
Quiz
Ecosystem
- Candidate
- A passage the search thought might help. It is not yet the answer.
Sisters: Search indexes, Embeddings, Rerankers, Citations.
A voice agent and a chat agent can share the same note index.
The capstone answers only from notes you are allowed to use.
Config
- Write the goal in one sentence.
- Name the input and the allowed output.
- Save the trace next to the result.
Troubleshooting
- The answer looks fluent and is wrong. Check whether a source passage actually contains the claim.
- The loop never stops. Set a step cap and stop when the tool result repeats.
Sources and go deeper
- Lewis and co-authors, Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, 2020 paper last checked 2026-10
- Retrieval-augmented generation — Wikipedia wikipedia last checked 2026-10