RAG Fundamentals
What Retrieval-Augmented Generation is, when to use it, and a working RAG system built from scratch.
- 1What is Generative AI?Generative AI, large language models and how they relate to RAG, explained for developers.
- 2What is Retrieval-Augmented Generation (RAG)?Why RAG exists, how it reduces hallucination and how it gives LLMs access to private data.
- 3Semantic Search, Vector Search and Knowledge BasesHow knowledge bases, document retrieval, semantic search and vector search fit together in RAG.
- 4LLM Hallucinations: Causes and How RAG Reduces ThemWhy language models hallucinate, the types of hallucination, and practical techniques to reduce them.
- 5RAG vs Fine-Tuning vs Long-Context PromptingA practical comparison to help you pick the right approach for your use case.
- 6RAG vs Traditional SearchHow RAG differs from keyword and enterprise search engines, and when each is the better choice.
- 7RAG vs Prompt Engineering vs AI AgentsCompare RAG with prompt engineering and AI agents, and see how the three combine.
- 8The Two Phases of RAG: Indexing and RetrievalThe offline indexing pipeline and the online retrieve-and-generate pipeline in detail.
- 9Build a Minimal RAG System from ScratchA complete RAG pipeline in about 50 lines of Python, without any framework.
- 10Types of RAG Systems: Naive, Advanced, Modular and AgenticA map of RAG system types, from naive retrieve-and-generate to modular, graph, multimodal and agentic RAG.