Retrieval selects relevant material; generation turns supplied context into a response.
A system can fail because it found the wrong passage or because it misused the right one. These require different corrections.
The bigger picture
A document-grounded answer has two distinct dependencies: finding appropriate evidence and using that evidence correctly. Improving the wording cannot repair a system that selected an irrelevant or superseded document.
- Identify question
- Retrieve evidence
- Write supported answer
- Verify citations
Concepts to keep close
- Retrieval
- Selecting potentially relevant material for a question.
- Grounding
- Supporting an answer with the evidence actually supplied.
- Version
- A particular state of a document, which may be current or superseded.
Reasoning through the problem
Identify the information the question requires.
Inspect the selected passage for relevance.
Evaluate the answer against that passage separately.
Use the idea carefully
Build a source register and questions with known supporting passages. Inspect retrieval separately from the generated answer. Include absent, ambiguous and conflicting information. A system should acknowledge insufficient evidence instead of completing a plausible story. Access checks must apply before private material is included in a response.