Applied AI

Course map · S2 Retrieval and RAG · Episode 9 of 16

Building the prompt

S2 E9 Explainer · 23 slides · 27 October 2026

  1. Slide 1 of 23, Cover.
  2. Slide 2 of 23, Why it matters.
  3. Slide 3 of 23, Recap.
  4. Slide 4 of 23, Live, every question.
  5. Slide 5 of 23, Mental model.
  6. Slide 6 of 23, Mental model.
  7. Slide 7 of 23, The test.
  8. Slide 8 of 23, The test.
  9. Slide 9 of 23, Before the results.
  10. Slide 10 of 23, Worked example.
  11. Slide 11 of 23, Finding.
  12. Slide 12 of 23, Where it breaks.
  13. Slide 13 of 23, Finding.
  14. Slide 14 of 23, Worked example.
  15. Slide 15 of 23, Finding.
  16. Slide 16 of 23, Finding.
  17. Slide 17 of 23, The decision.
  18. Slide 18 of 23, Where it breaks.
  19. Slide 19 of 23, For engineers.
  20. Slide 20 of 23, For leaders.
  21. Slide 21 of 23, The scoreboard.
  22. Slide 22 of 23, Decision rule.
  23. Slide 23 of 23, Series map.

Lesson notes

Allowing the model to say "not found" raised correct declines from 83 to 105 of 120, but not clearly enough to join, and five passages stayed the right number.

Decision rule

Send the fewest passages that keep the answer score, and make "not found" an answer the model is allowed to give.