Review retrieval results
Retrieval results should be judged for relevance, coverage and source quality. A ranking position is not a guarantee that a passage supports the answer.
Understand the pattern
Retrieval results should be judged for relevance, coverage and source quality. A ranking position is not a guarantee that a passage supports the answer.
Interpret the evidence
Reject or flag the top result because it does not support the refund question.
A tempting mistake
The first result is always sufficient evidence.
All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.
Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-retrieval-embeddings-007.json{
"fixture": "Fictional training data; not a live measurement.",
"rank": 1,
"query": "refund deadline",
"passage_topic": "shipping time",
"supports_query": false
}Exit status: 0. The command completed successfully in the training fixture.
$ jq .supports_query /opt/ai-lab/cases/aiops-retrieval-embeddings-007.jsonfalse
Exit status: 0. The command completed successfully in the training fixture.
$ printf '%s\n' 'reject-irrelevant-passage' > /home/learner/lab/aiops-retrieval-embeddings-007-decision.txt(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Compare similarity scoresTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Check index freshnessFreshness compares the indexed revision with the source revision or update watermark. Wall-clock uptime does not establish that new documents were ingested.Practice
- 02Compare similarity scoresSimilarity scores are ranking signals under a specific embedding and metric setup. They are not calibrated probabilities of truth or correctness.Practice
- 03Spot a missing citationA citation must connect a claim to source evidence that actually supports it. Merely including a document identifier somewhere in an answer is not adequate grounding.Practice