Lesson deck
The core RAG pipeline flashcards
Reviewing needs JavaScript. You can read every card in the list below.
Loading your cards...
Back to the lesson5 cards in this deck
Read all 5 cards as a list
- Front
- One-line rule for RAG vs fine-tuning?
- Back
- RAG for knowledge (fresh, citable, easy to update); fine-tuning for behaviour (style, format, task skill). They can be combined.
- Front
- Name the two lanes of a RAG pipeline and what is in each.
- Back
- Offline: parse, chunk, embed, index. Online (per query): retrieve, rerank, generate.
- Front
- Why must you version the index?
- Back
- Queries and chunks must use the same embedding model. Changing the model means re-embedding the whole corpus, so you need to know which model built which index.
- Front
- Confident wrong answer, correct passage exists in the corpus. What is the first test?
- Back
- Paste the gold passage into the prompt. Right answer: retrieval or ingestion problem. Still wrong: prompt or generation problem.
- Front
- Name four stages where a confident wrong answer can originate.
- Back
- Ingestion (bad parse, stale page), retrieval (filters, embedding, recall), ranking and context assembly (rerank, trimming), generation (model ignores or misreads context).