Relevance is not permission, and similarity is not proof that a passage answers the question.
Apply access boundaries before exposing documents. Evaluate retrieval on known questions, including cases with no acceptable source.
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
Determine which documents the requester may access.
Search within the permitted collection.
Check whether a relevant permitted answer exists.
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.