STEP 01
Find a genuine gap
OpenPractice FAQ
The file gives no parking information.
- Read the FAQ and confirm parking is absent.
- Search for parking and inspect the returned passages.
- Do not treat a weakly related passage as evidence of a parking policy.
You have one uncovered question and one covered control question.
If it does not work
If other documents are indexed, isolate this practice file for the exercise.
STEP 02
Add a no-evidence branch
OpenYour query handler and answer prompt
Handle empty or unsupported retrieval before making a confident claim.
- If no passage supports the question, return that the available documents do not answer it.
- If passages are returned, require the model to use only their facts and to say when they remain insufficient.
- Check citations against returned IDs; never let source text override your app instructions.
Is parking free at Harbor Studio?No parking fee or availability is invented.
If it does not work
A similarity score is not proof of support; inspect the text and the answer together.
STEP 03
Run the covered control
OpenFresh request
Overly strict refusal is also a failure.
- Ask where the printer is in a fresh request.
- Check for second floor and blue cabinet with a supporting passage.
- Keep both questions in your test set for future changes.
The printer answer works, while the parking question remains unanswered.
If it does not work
If both questions fail, inspect indexing and retrieval before changing the model.
Trace one question from source text to index, search result, model input, and final answer.