AI Hints
Home›RAG Tutorial›Routing and Practice
RAG · Lesson 69 of 120

Retrieval Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:08:23🎓 Free
Watch this lesson in the RAG courseWatch on YouTube ↗Full RAG course

Let's review better retrieval. Pause after each question, and answer before I do.

Retrieval Quiz
From the video: Retrieval Quiz
  • Retrieval quiz
  • Pause and think
  • Then check

Question 1

Which search finds exact error codes best? Keyword search, BM25.

Quick check
Best for exact codes:

Question 2

How does reciprocal rank fusion merge lists? By each chunk's position.

Quick check
RRF merges by:

Question 3

Why not use a cross encoder for all search? It's too slow.

Quick check
Cross-encoders are used only to rerank because they're:

Question 4

What does HyDE search with? A draft answer.

Quick check
HyDE searches with:

Summary

Well done. Next, a new section on evaluating RAG, starting with why we measure.

Key takeaways
  • BM25
  • RRF
  • Rerank
Next up: Why Evaluate RAG — measure, don't guess