AI Hints
Home›RAG Tutorial›Order and Practice
RAG · Lesson 51 of 120

Generation Quiz

Test yourself.

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

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

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

Question 1

Where should the question go in a RAG prompt? Last, after the context.

Quick check
The question goes:

Question 2

What should the model say when the context lacks the answer? I don't know.

Quick check
Missing facts? The model says:

Question 3

Why label each chunk with its source? So the model can cite it.

Quick check
Label chunks so the model can:

Question 4

Where do models miss facts in long prompts? In the middle.

Quick check
Facts get lost:

Summary

Well done. Next, a new section on better retrieval, starting with why retrieval fails.

Key takeaways
  • Question last
  • I don't know
  • Cite sources
Next up: Why Retrieval Fails — the usual suspects