Course contents · Chapter 1
Building with AIChapter 1 of 42 min reading + practice

Separate finding evidence from writing an answer

Retrieval selects relevant material; generation turns supplied context into a response.

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.

  1. Identify question
  2. Retrieve evidence
  3. Write supported answer
  4. Verify citations
A working model for this course. Use it to locate where a decision or failure occurs.

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.

Further reading & course resources

Original documentation and teaching references for further investigation.