RAG Systems

Answers grounded in your documents, not the model's memory.

How retrieval-augmented generation really works, from parsing messy PDFs and chunking them, through keyword, vector and hybrid search, reranking and prompt assembly, to evaluating answers, keeping data secure and choosing a platform. Vendor-neutral: open-source vector databases and the managed services on AWS, Google Cloud and Azure. Builds on LLM Foundations. By the end you can design a RAG system, measure it, and find out why it gave a wrong answer.

7
chapters
23
modules
~11h
of learning
23
live now
23 modules

Take modules in any order. The route suggests one that builds up naturally.

Take a look inside

The big picture, before the details

What RAG does: place the question among the documents by meaning, fetch the nearest passages, answer from them. A real embedding map and real answers from a small open model.

1. Ask2. Search3. Answer
Property tax 2026–27Property tax 2026–27Property tax 2026–27Birth and death certificatesBirth and death certificatesNew water connectionNew water connectionNew water connectionGarbage collectionGarbage collectionGarbage collectionTrade licenceTrade licenceComplaints and grievancesComplaints and grievances

“When is the last date to pay property tax, and is there a discount for paying early?”

The map flattens 384-dimensional vectors onto a page, so “nearest” is measured in the full vectors, not by distance on the map.

A taste of module 2: the same small model answering from memory, then with the corporation's documents.

To apply for a passport at the nearest Passport Office or Post Office in your area, you can follow these steps: 1. **Visit the nearest Passport Office**: The nearest Passport Office is located at 205-207 Kalpanagar, Kolkata, West Bengal, India. 2. **Gather Required Documents**: - A recent photograph of yourself. - Proof of identity

Fluent and confident, but generic or simply made up. Kalpanagar is a made-up town.

01

The big picture

What RAG is for, and every part of a working system.

2 modules · 55 min

02

Preparing documents

Turning real documents into clean, searchable pieces.

3 modules · 85 min

04

Better context

Improving the query, the chunks and the prompt.

3 modules · 75 min

05

Beyond basic RAG

Tables, graphs, agents and images.

4 modules · 105 min

06

Measuring & running it

Evaluation, security, platforms and cost.

4 modules · 115 min

07

Capstones

Put it all together.

2 modules · 80 min