AI Hints
Home›RAG Tutorial›Scaling Search
RAG · Lesson 39 of 120

Vector Search Quiz

Test yourself.

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

Let's review embeddings and vector search. Pause after each question, and answer before I do.

Vector Search Quiz
From the video: Vector Search Quiz
  • Vector search quiz
  • Pause and think
  • Then check

Question 1

What does an embedding capture? The meaning of the text.

Quick check
An embedding captures:

Question 2

Why must chunks and questions use the same embedding model? Vectors from different models can't be compared.

Quick check
Same model because:

Question 3

How do we avoid an old price list in results? A metadata filter.

Quick check
Hide the old price list:

Question 4

What does HNSW trade for speed? A tiny bit of accuracy.

Quick check
HNSW trades speed for:

Summary

Well done. Next, a new section on generation, starting with the RAG prompt.

Key takeaways
  • Meaning
  • Same model
  • Filters
Next up: The RAG Prompt — context and question