← Path
Retrieval-Augmented Generation · RAG Retrieval, Ranking and Prompt Assembly with Citations
0 XP- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Mountain pass with a closed gate
Trick to keep in mind+3 XP
No good match? Return nothing, not the least-bad thing.
Top-k always returns k chunks, even when none is any good. The model then writes a confident answer on top of irrelevant text. A minimum similarity score lets the pipeline notice "I found nothing useful" and respond honestly instead of improvising.
Read it once, then a question tests whether the trick stuck.