Module 1: RAG Fundamentals

What Retrieval-Augmented Generation is, when to use it, and a working RAG system built from scratch.

Last Updated:

Module 1

RAG Fundamentals

What Retrieval-Augmented Generation is, when to use it, and a working RAG system built from scratch.

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