Retrieval quality · about 20 minutes of study

Evidence-grounded abstention

Abstention means declining to assert an answer when the available evidence is insufficient. It differs from refusing a disallowed request for safety reasons.

Before you start: Review Query rewriting first. Python-like examples use variables, lists and functions.

Guided concept walkthrough

Follow the mechanism

Question

Separate allowed task from prohibited action.

1 / 4

A conceptual animation, not a live model trace. Play advances every five seconds and stops at the final stage.

Start with an everyday explanation

Saying “this page does not tell us” is more useful than guessing. You can still explain which missing information would answer the question.

See a concrete example

If the sources do not cover an overseas accident, say the supplied documents cannot establish coverage and request the relevant policy section.

A claim to question

A low retrieval score is not a universal calibrated refusal threshold.

Try before revealing the answer

Write responses for missing evidence and for a prohibited attempt to access another user record.

Show the worked answer

For missing evidence, explain the gap and ask for the needed source. For unauthorized access, deny the action without revealing the other record. The reasons and telemetry differ.

Now explain the idea to someone else using your own example. If you cannot explain a stage, revisit it before moving on.

Your explanation and revision notes

Loading local notes…

Read the primary reference

Retrieval-Augmented Generation

The explanation and exercises are original teaching material. The linked source provides background; examples and assumed numbers here are not claims about a particular company.