Overview
Retrieval-Augmented Generation (RAG) connects LLMs to external knowledge. This module covers the evolution from naive RAG to production-grade systems with hybrid search, graph-based retrieval, multimodal pipelines, and robust evaluation frameworks that measure retrieval quality separately from generation quality.
Concept Flashcards
6 cards โ click to flip and test recall
1 / 60/6 mastered
System Architecture
4 interactive diagrams โ drag nodes ยท scroll to zoom ยท click for details
The simplest RAG architecture: chunk documents, embed them, store in a vector DB, retrieve the top-k, and pass as context to the LLM.
โScroll to zoom ยท Drag nodes ยท Drag canvas to pan
100%
Data Source
Embedding
Vector Store
LLM
User I/O
Key Concepts
6 concepts โ click to expand
Naive RAG: chunk โ embed โ retrieve โ generate. Advanced RAG adds query rewriting, re-ranking, parent-document retrieval, and iterative refinement. HyDE (Hypothetical Document Embeddings) generates a fake answer to use as a better query vector.
Tech Stack
LangChainLlamaIndexQdrantFAISSOpenSearchWeaviateRAGASCohere
Ready to test yourself?
5 questions ยท score โฅ 60% to mark complete