← All courses

Course: RAG Techniques — From Basic Pipeline to Graph Architectures

Build a basic RAG pipeline (PDF/CSV/JSON → chunks → FAISS → retriever → generation) and verify its reliability. Deliberately choose a chunking strategy (fixed size, semantic, propositional, contextual headers). Improve queries: rewriting, step-back, decomposition, HyDE, HyPE, document augmentation with questions.

Log in to start →

Course preview

What you will learn

Explore the full curriculum before you enrol. Lessons unlock after purchase or free enrolment.

01

Basic RAG

Topics covered

  • Understand the architecture of a classic RAG pipeline: loading → chunking → embeddings → vector store → retriever → generation.
  • Build a working RAG over a PDF using FAISS and OpenAI embeddings.
  • Adapt the pipeline to tabular (CSV) and structured (JSON) data.
1 lesson10 questions~25 min
02

Chunking and Data Preprocessing

Topics covered

  • Understand why document-splitting strategy is RAG quality's main "cheap" lever.
  • Learn to tune chunk size experimentally rather than by eye.
  • Master semantic chunking, propositional chunking, and contextual chunk headers.
1 lesson10 questions~25 min
03

Improving Queries

Topics covered

  • Understand why "raw" user queries match documents poorly.
  • Master three query transformations: rewriting, step-back, and decomposition into sub-queries.
  • Understand HyDE — retrieval through a hypothetical answer document.
1 lesson10 questions~25 min
04

Advanced Retrieval and Reranking

Topics covered

  • Combine lexical (BM25) and vector search in fusion retrieval.
  • Apply reranking: cross-encoder and LLM scoring to reorder candidates.
  • Manage context: a window around the chunk, relevant segment extraction, compression, hierarchical indices.
1 lesson10 questions~25 min
05

Iterative and Adaptive Techniques

Topics covered

  • Move from a linear pipeline to loops with self-checking and correction.
  • Master Self-RAG: the "retrieve or not" decision and multi-stage self-assessment of the answer.
  • Master Corrective RAG (CRAG): scoring retrieval quality and falling back to web search.
1 lesson10 questions~25 min
06

Graph RAG and Hierarchical Architectures

Topics covered

  • Understand which questions vector search can't solve and why knowledge graphs are needed.
  • Build a knowledge graph from text and combine graph traversal with retrieval.
  • Understand Microsoft GraphRAG: entities, communities, bottom-up summaries.
1 lesson10 questions~25 min
07

Evaluating RAG Systems

Topics covered

  • Understand which metrics measure retrieval and which measure generation, and why they must be kept separate.
  • Master deepeval: test cases for correctness, faithfulness, contextual relevancy.
  • Get familiar with GroUSE: 6 grounded-generation metrics and meta-evaluation of your own LLM judge.
1 lesson10 questions~25 min
08

Final Exam

Final exam
35 questions~60 min