Atomic flashcards for this topic. Free for everyone. Pro syncs them into your spaced-repetition queue.
What does RAG stand for?▾
Retrieval-Augmented Generation.
What problem does RAG primarily solve?▾
Grounding LLM responses in external or up-to-date knowledge to reduce hallucination.
Name the three steps in a RAG query.▾
Retrieve relevant docs, augment the prompt with them, generate the answer.
What is reranking?▾
A second pass over retrieved chunks using a more accurate (and slower) model, usually a cross-encoder, to reorder them before context assembly.
+ 4 more cards in the full deck · Drill all cards (Pro)