A Simple Guide to Retrieval Augmented Generation

you own this product

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Everything you need to know about Retrieval Augmented Generation in one human-friendly guide.

Retrieval Augmented Generation—or RAG—enhances an LLM’s available data by adding context from an external knowledge base, so it can answer accurately about proprietary content, recent information, and even live conversations. RAG is powerful, and with A Simple Guide to Retrieval Augmented Generation, it’s also easy to understand and implement!

In A Simple Guide to Retrieval Augmented Generation you’ll learn:

  • The components of a RAG system
  • How to create a RAG knowledge base
  • The indexing and generation pipeline
  • Evaluating a RAG system
  • Advanced RAG strategies
  • RAG tools, technologies, and frameworks

A Simple Guide to Retrieval Augmented Generation gives an easy, yet comprehensive, introduction to RAG for AI beginners. You’ll go from basic RAG that uses indexing and generation pipelines, to modular RAG and multimodal data from images, spreadsheets, and more.

about the technology

If you want to use a large language model to answer questions about your specific business, you’re out of luck. The LLM probably knows nothing about it and may even make up a response. Retrieval Augmented Generation is an approach that solves this class of problems. The model first retrieves the most relevant pieces of information from your knowledge stores (search index, vector database, or a set of documents) and then generates its answer using the user’s prompt and the retrieved material as context. This avoids hallucination and lets you decide what it says.

about the book

A Simple Guide to Retrieval Augmented Generation is a plain-English guide to RAG. The book is easy to follow and packed with realistic Python code examples. It takes you concept-by-concept from your first steps with RAG to advanced approaches, exploring how tools like LangChain and Python libraries make RAG easy. And to make sure you really understand how RAG works, you’ll build a complete system yourself—even if you’re new to AI!

what's inside

  • RAG components and applications
  • Evaluating RAG systems
  • Tools and frameworks for implementing RAG

about the reader

For data scientists, engineers, and technology managers—no prior LLM experience required. Examples use simple, well-annotated Python code.

about the author

Abhinav Kimothi is a seasoned data and AI professional. He has spent over 15 years in consulting and leadership roles in data science, machine learning and AI, and currently works as a Director of Data Science at Sigmoid.

Essential read if you’re serious about deploying factual, scalable, and future-ready AI systems.

Bhavishya Pandit, IBM

A blend of expert advice, real-world examples, and use cases helping you navigate the complexities of Generative AI.

Naga Santhosh Reddy Vootukuri, Microsoft

Offers clear explanations, solid foundations, and practical examples that truly make a difference.

Márcio F. Nogueira, RankMyApp

Insightful, practical, and timely! You’ll walk away informed, inspired, and ready to build!

Tojin T. Eapen, Center for Creative Foresight
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • A Simple Guide to Retrieval Augmented Generation ebook for free
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • A Simple Guide to Retrieval Augmented Generation ebook for free
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • A Simple Guide to Retrieval Augmented Generation ebook for free