All projects

Interactive books · 2026

RAG Book

An interactive guide to retrieval-augmented generation, from zero to production.

The RAG Book home page, beside a step-by-step example of retrieved chunks and a cited answer.
48
chapters in two languages
22
interactive widgets
6
end-to-end industry case studies

A bilingual web book, in Indonesian and English, that covers RAG end to end: foundations, ingestion, chunking, embeddings, vector databases, hybrid search, reranking, context engineering, GraphRAG, agentic RAG, multimodal retrieval, evaluation, security and production.

How it teaches

  • Simulations in the page. Abstract concepts come with interactive widgets that run entirely in the browser.
  • Two reading modes. Each chapter has a summary and an in-depth version.
  • Code that runs. A companion Python package backs the book, and each of the six industry case studies comes with an evaluation script.
A RAG Book chapter on hybrid search with the curriculum on the left and a switch between summary and in-depth reading.
Every chapter can be read as a summary or in depth.