Skip to content
Professional courseEnrolling now

RAG Systems

Design, evaluate and run production retrieval: parsing, chunking, hybrid search, re-ranking, GraphRAG, access control and scale.

Prepares you for: RAG Engineer / AI Engineer (Retrieval) · Search Engineer (AI search) · Search Quality / Relevance Engineer · AI Solutions Engineer

Recommended first: GenAI & LLM

Already know it? Take the Module 0 diagnostic first, and skip ahead only if you pass it.

Free to start · No setup needed · Learn at your own pace

19 modules
Every lesson is available
Foundations to advanced
Module 0 covers the prerequisites
Flexible schedule
About 174 hours, at your own pace
From ₹0 a month
Open-source tools first

What you’ll learn

  • Build and deploy a production RAG system with citations and a 'not found' path, without a tutorial
  • Measure retrieval with recall@k, MRR and nDCG, and answers with faithfulness, and run both in CI
  • Diagnose whether a bad answer is a parsing, chunking, retrieval, ranking or generation problem
  • Tune hybrid search, re-ranking and vector indexes for quality, latency and cost
  • Enforce per-document permissions and defend against injection through documents
  • Design a retrieval system for an unfamiliar brief and defend it in an interview

Skills you’ll gain

  • Retrieval / search relevance evaluation
  • Latency, caching and scale
  • Embedding models
  • Python
  • Re-ranking / ranking models
  • LLM APIs and prompting
  • RAG pipelines end to end
  • Vector databases (Pinecone, Weaviate, Qdrant, Milvus, pgvector)
  • Agentic / multi-step retrieval
  • Chunking and document parsing (PDF, tables, OCR)
  • Multimodal (images, audio, video)
  • Cloud (AWS / GCP / Azure)
  • Access control / data governance
  • LangChain / LlamaIndex / Haystack
  • Data pipelines (Spark, Kafka, Airflow)
  • Hybrid search (BM25 + dense)
  • Query understanding / rewriting
  • Search engines (Elasticsearch / OpenSearch / Solr / Vespa)
  • Docker / Kubernetes
  • Knowledge graphs / GraphRAG

Details to know

Capstone project
Deployed, tested and documented: proof for your portfolio
Assessments
A lab, a quiz and interview questions in every module
Job-aligned
Built from 15 real job posts
Recently updated
23 Nov 2026

There are 19 modules in this course

Each module adds one piece to the same capstone project.

  1. Module 0: Bridge: RAG baseline refresher and diagnosticModule 06 hours to completeAvailableOptional

    You’ll build: Capstone repo with a naive baseline (/ask over a sample corpus) to beat in every later module.

    What you’ll be able to do

    • Rebuild a minimal RAG pipeline from memory
    • Call an LLM API and an embedding model from Python
    • Score yourself on the diagnostic and pick your starting module

    What’s included: 2 h theory · 2 h hands-on · 1 h project · 1 h revision · tools: python3.12, sentence-transformers, fastapi

    Start this module
  2. Module 1: Retrieval foundations: BM25, dense retrieval, recall@k, MRR, nDCGModule 110 hours to completeAvailable

    You’ll build: Retrieval eval harness: a golden set of 30 questions and a script that reports recall@5, MRR and nDCG for the baseline.

    What you’ll be able to do

    • Explain how BM25 scores a document and why it still wins on exact terms
    • Explain dense retrieval and where embeddings fail
    • Compute recall@k, MRR and nDCG by hand and in code
    • Build a small golden set and measure a retriever on it

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: bm25s, sentence-transformers, ranx, numpy

    Start this module
  3. Module 2: Document parsing: PDF layout, tables, OCR, scanned documentsModule 212 hours to completeAvailable

    You’ll build: Ingestion step that turns the corpus into structured elements with page references.

    What you’ll be able to do

    • Choose a parser by document type (digital PDF, scanned, HTML, slides)
    • Keep tables, headings and reading order intact
    • Run OCR on scanned pages and check its quality
    • Store page numbers and positions for citations

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: docling, unstructured, pymupdf, tesseract

    Start this module
  4. Module 3: Chunking strategies: structural, semantic, late chunking, contextual retrievalModule 38 hours to completeAvailable

    You’ll build: Configurable chunker with a measured choice of strategy recorded in an ADR.

    What you’ll be able to do

    • Compare fixed, structural and semantic chunking on your golden set
    • Add contextual headers to chunks
    • Explain late chunking and parent-child retrieval
    • Pick chunk size from measurements, not habit

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: docling, sentence-transformers

    Start this module
  5. Module 4: Choosing embedding models: benchmarks, multilingual and Indic, fine-tuning embeddingsModule 410 hours to completeAvailable

    You’ll build: Embedding model chosen by measured recall, with a fine-tuned variant behind a flag.

    What you’ll be able to do

    • Read MTEB results critically for your domain
    • Compare open and hosted embedding models on your golden set
    • Handle Hindi and other Indian languages
    • Fine-tune an embedding model on in-domain pairs

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: sentence-transformers, FlagEmbedding

    Start this module
  6. Module 5: Vector databases and indexing: HNSW, IVF, quantization, metadata filtersModule 512 hours to completeAvailable

    You’ll build: Qdrant (or pgvector) index with metadata filters, tuned and benchmarked.

    What you’ll be able to do

    • Explain HNSW and IVF and tune them for recall vs latency
    • Use scalar and binary quantization and measure the loss
    • Filter by metadata without wrecking recall
    • Choose between Qdrant, pgvector and a managed service

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: qdrant-client, pgvector, psycopg

    Start this module
  7. Module 6: Hybrid search and re-ranking: BM25 + vectors, RRF, cross-encoders, late interactionModule 612 hours to completeAvailable

    You’ll build: Hybrid retriever with re-ranking that beats the baseline on the golden set.

    What you’ll be able to do

    • Combine BM25 and vector results with reciprocal rank fusion
    • Re-rank with a cross-encoder and measure the gain
    • Know when late interaction (ColBERT) is worth it
    • Budget re-ranking latency

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: opensearch-py, bm25s, sentence-transformers, rerankers

    Start this module
  8. Module 7: Query understanding: rewriting, HyDE, multi-query, decomposition, routingModule 78 hours to completeAvailable

    You’ll build: Query rewriter and router in front of the retriever, each measured on the golden set.

    What you’ll be able to do

    • Rewrite conversational follow-ups into standalone queries
    • Use HyDE and multi-query where they help
    • Decompose multi-part questions
    • Route queries to the right index or tool

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: openai, pydantic

    Start this module
  9. Module 8: Retrieval and answer evaluation: golden sets, judge calibration, evals in CIModule 812 hours to completeAvailable

    You’ll build: Eval suite (Ragas + ranx + pytest) on every pull request, with scores posted to the PR.

    What you’ll be able to do

    • Separate retrieval metrics from answer metrics
    • Measure faithfulness and answer relevance
    • Calibrate an LLM judge against human labels
    • Block regressions in CI

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: ragas, ranx, pytest

    Start this module
  10. Module 9: Grounding, citations and the 'not found' pathModule 96 hours to completeAvailable

    You’ll build: Answers with verified citations and an explicit 'not found' response, tested on unanswerable questions.

    What you’ll be able to do

    • Make the model answer only from retrieved context
    • Attach and verify inline citations
    • Detect unanswerable questions and say 'not found'
    • Measure citation precision

    What’s included: 2 h theory · 2 h hands-on · 1 h project · 1 h revision · tools: openai, llama-index

    Start this module
  11. Module 10: Access control and multi-tenant RAG: per-document permissions, PII, auditModule 108 hours to completeAvailable

    You’ll build: Permission-aware retrieval with an audit log and an injection test set.

    What you’ll be able to do

    • Enforce per-document permissions at query time
    • Isolate tenants in one index
    • Redact PII before indexing
    • Defend against prompt injection hidden in documents

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: qdrant-client, presidio

    Start this module
  12. Module 11: GraphRAG and knowledge graphsModule 1110 hours to completeAvailable

    You’ll build: Optional: a graph index for cross-document questions, compared with the hybrid retriever.

    What you’ll be able to do

    • Build a knowledge graph from documents
    • Answer global questions with community summaries
    • Compare GraphRAG with plain RAG on cost and quality
    • Decide when a graph is worth it

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: graphrag, lightrag-hku, neo4j

    Start this module
  13. Module 12: Multimodal RAG: images, tables, page-image retrievalModule 128 hours to completeAvailable

    You’ll build: Page-image retrieval for diagram- and table-heavy documents.

    What you’ll be able to do

    • Retrieve pages as images with ColPali-style models
    • Answer questions about charts and tables
    • Choose between text extraction and page images
    • Measure multimodal retrieval

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: colpali-engine, pymupdf

    Start this module
  14. Module 13: Agentic RAG: iterative retrieval, tools, self-checks (continues in Agentic AI)Module 138 hours to completeAvailable

    You’ll build: Agentic mode for multi-hop questions with a step limit, measured against single-shot RAG.

    What you’ll be able to do

    • Let a model decide when and what to retrieve
    • Add self-checks and corrective retrieval
    • Combine search with tools such as SQL
    • Cap steps and cost

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: langgraph, llama-index

    Start this module Go deeper in Agentic AI
  15. Module 14: Caching, latency, cost and scaling: semantic cache, incremental indexing, shardingModule 1410 hours to completeAvailable

    You’ll build: Semantic cache, incremental re-indexing and a latency and cost dashboard.

    What you’ll be able to do

    • Add exact and semantic caches and measure hit rates
    • Index incrementally and delete stale chunks
    • Shard and replicate an index
    • Report cost per answered question

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: redis, locust

    Start this module
  16. Module 15: Architecture and system design for retrieval systemsModule 1510 hours to completeAvailable

    You’ll build: Architecture decision records for the capstone, plus two design exercises with model answers.

    What you’ll be able to do

    • Compare RAG architectures on cost, latency and risk
    • Apply a decision framework to an unseen brief
    • Design for freshness, permissions and scale
    • Defend a design in an interview

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: mermaid

    Start this module
  17. Module 16: Deployment and operations: ingestion pipelines, CI/CD, monitoring corpus driftModule 1610 hours to completeAvailable

    You’ll build: Capstone live at a public HTTPS URL with scheduled ingestion and quality monitoring.

    What you’ll be able to do

    • Run ingestion as a scheduled, idempotent pipeline
    • Deploy the API and index with Docker and CI/CD
    • Monitor retrieval quality and corpus drift
    • Roll back an index safely

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: docker, docker-compose, gh, caddy

    Start this module
  18. Module 17: Capstone completion and portfolioModule 1714 hours to completeAvailable

    You’ll build: Release v1.0: deployed, evaluated, permission-aware and documented.

    What you’ll be able to do

    • Finish, load-test and document the knowledge assistant
    • Write a case-study README with metrics
    • Record a short demo

    What’s included: 4 h theory · 6 h hands-on · 3 h project · 1 h revision · tools: locust

    Start this module
  19. Module 18: Interview prep: RAG system-design roundsModule 186 hours to completeAvailable

    You’ll build: Interview kit: one-page brief, architecture diagram and metrics.

    What you’ll be able to do

    • Answer RAG concept and debugging questions
    • Do a retrieval system-design round in 45 minutes
    • Present the capstone in a deep-dive

    What’s included: 2 h theory · 2 h hands-on · 1 h project · 1 h revision

    Start this module

Your schedule

Plan the course around your time

Tell us how much time you have, or when you need to finish. The planner adds a 15% buffer and dates every module.

Your time

Sign in to save the plan and track progress.

Total time
200.1 h
incl. 15% buffer
Per study day
2 h
6 days a week
Duration
16.7 weeks
101 study days
You finish
19 Mar 2027
starting 23 Nov

Module by module

  1. 1
    Retrieval foundations: BM25, dense retrieval, recall@k, MRR, nDCG23 Nov – 28 Nov · 11.5 h
  2. 2
    Document parsing: PDF layout, tables, OCR, scanned documents28 Nov – 7 Dec · 13.8 h
  3. 3
    Chunking strategies: structural, semantic, late chunking, contextual retrieval7 Dec – 12 Dec · 9.2 h
  4. 4
    Choosing embedding models: benchmarks, multilingual and Indic, fine-tuning embeddings12 Dec – 18 Dec · 11.5 h
  5. 5
    Vector databases and indexing: HNSW, IVF, quantization, metadata filters19 Dec – 26 Dec · 13.8 h
  6. 6
    Hybrid search and re-ranking: BM25 + vectors, RRF, cross-encoders, late interaction26 Dec – 4 Jan · 13.8 h
  7. 7
    Query understanding: rewriting, HyDE, multi-query, decomposition, routing4 Jan – 9 Jan · 9.2 h
  8. 8
    Retrieval and answer evaluation: golden sets, judge calibration, evals in CI9 Jan – 18 Jan · 13.8 h
  9. 9
    Grounding, citations and the 'not found' path18 Jan – 21 Jan · 6.9 h
  10. 10
    Access control and multi-tenant RAG: per-document permissions, PII, audit21 Jan – 27 Jan · 9.2 h
  11. 11
    GraphRAG and knowledge graphs27 Jan – 3 Feb · 11.5 h
  12. 12
    Multimodal RAG: images, tables, page-image retrieval3 Feb – 8 Feb · 9.2 h
  13. 13
    Agentic RAG: iterative retrieval, tools, self-checks (continues in Agentic AI)8 Feb – 13 Feb · 9.2 h
  14. 14
    Caching, latency, cost and scaling: semantic cache, incremental indexing, sharding13 Feb – 20 Feb · 11.5 h
  15. 15
    Architecture and system design for retrieval systems20 Feb – 26 Feb · 11.5 h
  16. 16
    Deployment and operations: ingestion pipelines, CI/CD, monitoring corpus drift26 Feb – 5 Mar · 11.5 h
  17. 17
    Capstone completion and portfolio5 Mar – 15 Mar · 16.1 h
  18. 18
    Interview prep: RAG system-design rounds15 Mar – 19 Mar · 6.9 h

How it’s worked out: 174 h × 1.15 = 200.1 h; 200.1 ÷ 2 h a day = 101 study days. If you fall more than 20% behind, the plan spreads the remaining hours over the days left instead of dropping content.

Capstone

Pick the project you’ll build

One project grows through every module, so you finish with something deployed, tested and documented to show employers.

RecommendedChallenging

Enterprise knowledge assistant with citations

Answers questions over company policies, manuals and tickets with inline citations and an explicit 'not found' answer when the documents don't cover the question. Hybrid search and re-ranking, per-document access control, evals in CI, deployed.

Proves

  • parsing
  • hybrid search
  • re-ranking
  • evaluation
  • access control
  • deployment
Challenging

Multilingual farmer advisory assistant

RAG over scanned agri and government-scheme PDFs (OCR) in Indian languages, with Indic embedding models, optional voice input and a low-bandwidth answer mode.

Proves

  • OCR
  • multilingual embeddings
  • evaluation per language
  • cost
Stretch

Technical documentation and code search

Search across a large open-source project's docs, diagrams and code, with page-image retrieval for diagrams and a knowledge graph of API relationships.

Proves

  • multimodal RAG
  • GraphRAG
  • query routing
  • scale

Have your own idea, or want one tailored to you?

Sign in to talk it through with the AI professor, save your plan and create your capstone repo on GitHub.

Sign in to start

Built from real jobs

The skills employers ask for

Counted across 15 job posts for RAG Engineer / AI Engineer (Retrieval) and Search Engineer (AI search) roles in India and worldwide. Counts are lower bounds from the posting text.

Must-have Nice to have

  • Retrieval / search relevance evaluation14 of 15 posts

    Must-have · covered in modules 1, 8

  • Latency, caching and scale13 of 15 posts

    Must-have · covered in module 14

  • Embedding models12 of 15 posts

    Must-have · covered in module 4

  • Python11 of 15 posts

    Must-have · covered in modules 0, 1

  • Re-ranking / ranking models11 of 15 posts

    Must-have · covered in module 6

  • LLM APIs and prompting11 of 15 posts

    Must-have · covered in modules 0, 9

  • RAG pipelines end to end10 of 15 posts

    Must-have · covered in modules 9, 17

  • Vector databases (Pinecone, Weaviate, Qdrant, Milvus, pgvector)10 of 15 posts

    Must-have · covered in module 5

  • Agentic / multi-step retrieval10 of 15 posts

    Must-have · covered in module 13

  • Chunking and document parsing (PDF, tables, OCR)7 of 15 posts

    Must-have · covered in modules 2, 3

  • Multimodal (images, audio, video)7 of 15 posts

    Must-have · covered in module 12

  • Cloud (AWS / GCP / Azure)6 of 15 posts

    Must-have · covered in module 16

  • Access control / data governance6 of 15 posts

    Must-have · covered in module 10

  • LangChain / LlamaIndex / Haystack5 of 15 posts

    Nice to have · covered in modules 9, 13

  • Data pipelines (Spark, Kafka, Airflow)5 of 15 posts

    Nice to have · covered in module 16

  • Hybrid search (BM25 + dense)5 of 15 posts

    Nice to have · covered in module 6

  • Query understanding / rewriting4 of 15 posts

    Nice to have · covered in module 7

  • Search engines (Elasticsearch / OpenSearch / Solr / Vespa)4 of 15 posts

    Nice to have · covered in modules 1, 6

  • Docker / Kubernetes4 of 15 posts

    Nice to have · covered in module 16

  • Knowledge graphs / GraphRAG1 of 15 posts

    Nice to have · covered in module 11

Why this course

What typical courses skip, and how this one covers it

Retrieval Augmented Generation (DeepLearning.AI)

IR and search foundations, vector databases, LLM generation, RAG in production

They miss: Evals in CI, access control, injection through documents, a deployed capstone

Here: Evals in CI (M8), per-document access control (M10), deployed capstone with a 'not found' path

LLM Zoomcamp (DataTalks.Club)

Agentic RAG, vector search, evaluation, monitoring, an end-to-end project

They miss: Parsing and OCR depth, access control, GraphRAG, multimodal, cost and scaling

Here: M2 parsing, M10 access control, M11 GraphRAG, M12 multimodal, M14 scaling

RAG From Scratch (LangChain)

Query translation, routing, indexing techniques

They miss: Framework-centric; no evaluation, deployment or security

Here: A framework-free core first, then frameworks, with evaluation on every technique

Also built in: what most learners forget

  • Document freshness: re-indexing schedules and deleting stale chunks (in Modules 14 and 16)
  • Prompt injection hidden inside indexed documents (red-team lab in Module 10)
  • Indic OCR and transliteration quality checks for Indian-language corpora
  • An answer feedback loop: thumbs up/down feeding the golden set
  • Cost per answered question as a tracked metric
  • Copyright and licensing of the documents you index

Tools and cost

Open-source first, from ₹0 a month

Everything runs on free, open-source tools. Paying only makes some steps faster.

Free path

$0 /month

about ₹0

Local models, free tiers and self-hosted tools.

RecommendedBest value

$14.5 /month

about ₹1,276

LLM and embedding APIs $5 · OCR and page-image models (GPU) $3 · Capstone hosting $6.5

Premium

$101.5 /month

about ₹8,932

LLM and embedding APIs $30 · Re-ranking $10 · Vector database $20 · OCR and page-image models (GPU) $15 · Capstone hosting $25 · Domain $1.5

The tool stack

LayerOpen-source toolPaid alternativeFree tierUsed in
Parsingdocling 2.151.1, unstructured 0.27.37, pymupdf 2.1, Tesseract OCRAzure Document Intelligence, AWS TextractFreeModule 2
Embeddingssentence-transformers 6.3.0, BGE (FlagEmbedding 1.4.2), multilingual-e5OpenAI, Cohere, Voyage embeddingsFree locallyModule 4
Vector storeQdrant (qdrant-client 1.20.0), Postgres + pgvector (pgvector 0.5.1)Pinecone, Weaviate CloudQdrant Cloud free tier (1 GB RAM)Module 5
Search engine (BM25 + kNN)OpenSearch (opensearch-py 3.2.0), bm25s 0.3.16Elastic Cloud, Azure AI SearchFree (self-hosted)Modules 1, 6
Re-rankingbge-reranker cross-encoders, rerankers 0.10.0Cohere RerankFree locallyModule 6
Frameworks (optional)llama-index 0.14.26, langchain 1.5.2; the core pipeline is written without a framework first-FreeModules 9, 13
Evaluationragas 0.4.4, ranx 0.3.21, custom golden setsLangSmith, GalileoFreeModule 8
GraphRAGMicrosoft graphrag 3.3.0, lightrag-hku 1.5.7, Neo4j Community (neo4j 6.4.1 driver)Neo4j AuraDBFree (self-hosted)Module 11
Multimodalcolpali-engine 0.3.18Hosted multimodal embeddingsFree (your GPU)Module 12
Cache and servingRedis (redis 8.1.0), fastapi 0.165.0, Docker, GitHub ActionsManaged RedisFree (self-hosted)Modules 14, 16
Monthly cost breakdown
ItemFree pathPaid pathFreeRecommendedPremium
LLM and embedding APIsLocal models and embeddingsBudget hosted LLM + hosted embeddings$0$5$30
Re-rankingLocal cross-encoderCohere Rerank$0$0$10
Vector databaseSelf-hosted Qdrant / pgvector, or Qdrant Cloud free tierPinecone Builder ($20/month)$0$0$20
OCR and page-image models (GPU)CPU locallyRunPod RTX 4090 for a few hours$0$3$15
Capstone hostingLocal DockerHetzner CX23-class VPS (OpenSearch heap set to 1 GB)$0$6.5$25
DomainSubdomain of kodev-ai.comOwn domain$0$0$1.5
Total per month$0 (₹0)$14.5 (₹1,276)$101.5 (₹8,932)

Prices checked 19–21 Nov 2026 and they change often. Hetzner CX23 is about EUR 5.49/month (excl. VAT); RunPod RTX 4090 community cloud from about $0.34/h. INR shown at an assumed Rs 88 per USD; adjust to today's rate. Cohere moved Rerank to per-token pricing in Oct 2026; re-check before relying on it.

Ready when you are

Start with Module 1: Retrieval foundations: BM25, dense retrieval, recall@k, MRR, nDCG

10 hours. Interactive lessons, a coding window and a quiz. No setup needed.