AlgoViz

Retrieval-Augmented Generation (RAG)

medium 12 min

A retrieval-augmented system maintains a searchable collection and consults it for each question.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 4

Score 0
conceptual

A RAG bot answers wrongly. The correct passage is in your documents but never appears in the prompt. What failed?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 5

Recall

What problem does RAG solve?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.