Back to directory

Mastering Retrieval-Augmented Generation

The official source code accompanying the Apress book Mastering Retrieval-Augmented Generation by Ranajoy Bose.

Mastering Retrieval-Augmented Generation

This repository holds the original source code for the book Mastering Retrieval-Augmented Generation by Ranajoy Bose, published by Apress in 2025. The code can be downloaded as a zip file or cloned with Git.

Release v1.0 corresponds exactly to the code printed in the published book, without later corrections or updates. A Contributing.md file describes how readers can contribute changes back to the repository.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.