A Simple Guide to Retrieval Augmented Generation you own this product

'); $(document.body).append('
loading reading lists ...
'); function adjustReadingListIcon(isInReadingList){ $readingListToggle.toggleClass("fa-plus", !isInReadingList); $readingListToggle.toggleClass("fa-check", isInReadingList); var tooltipMessage = isInReadingList ? "edit in reading lists" : "add to reading list"; $readingListToggle.attr("title", tooltipMessage); $readingListToggle.attr("data-original-title", tooltipMessage); } $.ajax({ url: "/readingList/isInReadingList", data: { productId: 3753 } }).done(function (data) { adjustReadingListIcon(data && data.hasProductInReadingList); }).catch(function(e){ console.log(e); adjustReadingListIcon(false); }); $readingListToggle.on("click", function(){ if(codePromise == null){ showToast() } loadCode().then(function(store){ store.requestReadingListSpecificationForProduct({ id: window.readingListsServerVars.externalId, manningId: window.readingListsServerVars.productId, title: window.readingListsServerVars.title }); ReadingLists.ReactDOM.render( ReadingLists.React.createElement(ReadingLists.ManningOnlineReadingListModal, { store: store, }), document.getElementById("reading-lists-modal") ); }).catch(function(e){ console.log("Error loading code reading list code"); }); }); var codePromise var readingListStore function loadCode(){ if(codePromise) { return codePromise } return codePromise = new Promise(function (resolve, reject){ $.getScript(window.readingListsServerVars.libraryLocation).done(function(){ hideToast() readingListStore = new ReadingLists.ReadingListStore( new ReadingLists.ReadingListProvider( new ReadingLists.ReadingListWebProvider( ReadingLists.SourceApp.marketplace, getDeploymentType() ) ) ); readingListStore.onReadingListChange(handleChange); readingListStore.onReadingListModalChange(handleChange); resolve(readingListStore); }).catch(function(){ hideToast(); console.log("Error downloading reading lists source"); $readingListToggle.css("display", "none"); reject(); }); }); } function handleChange(){ if(readingListStore != null) { adjustReadingListIcon(readingListStore.isInAtLeastOneReadingList({ id: window.readingListsServerVars.externalId, manningId: window.readingListsServerVars.productId })); } } var $readingListToast = $("#reading-list-toast"); function showToast(){ $readingListToast.css("display", "flex"); setTimeout(function(){ $readingListToast.addClass("shown"); }, 16); } function hideToast(){ $readingListToast.removeClass("shown"); setTimeout(function(){ $readingListToast.css("display", "none"); }, 150); } function getDeploymentType(){ switch(window.readingListsServerVars.deploymentType){ case "development": case "test": return ReadingLists.DeploymentType.dev; case "qa": return ReadingLists.DeploymentType.qa; case "production": return ReadingLists.DeploymentType.prod; case "docker": return ReadingLists.DeploymentType.docker; default: console.error("Unknown deployment environment, defaulting to production"); return ReadingLists.DeploymentType.prod; } } }); } });
Abhinav Kimothi
  • MEAP began June 2024
  • Publication in Spring 2025 (estimated)
  • ISBN 9781633435858
  • 175 pages (estimated)
  • printed in black & white

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.

Generative AI models struggle when you ask them about facts not covered in their training data. 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 systems
  • Advanced RAG strategies
  • RAG tools, technologies and frameworks

A Simple Guide to Retrieval Augmented Generation shows you how to enhance an LLM with relevant data, increasing factual accuracy and reducing hallucination. Your customer service chatbots can quote your company’s policies, your teaching tools can draw directly from your syllabus, and your work assistants can access your organization’s minutes, notes, and files.

about the book

A Simple Guide to Retrieval Augmented Generation makes RAG simple and easy, even if you’ve never worked with LLMs before. This book goes deeper than any blog or YouTube tutorial, covering fundamental RAG concepts that are essential for building LLM based applications. You’ll be introduced to the idea of RAG and be guided from the basics on to advanced and modularized RAG approaches—plus hands-on code snippets leveraging LangChain, OpenAI, Transformers and other Python libraries.

Chapter-by-chapter, you’ll build a complete RAG-enabled system and evaluate its effectiveness. You’ll compare and combine accuracy-improving approaches for different components of RAG, and see what the future holds for RAG. You’ll also get a sense of the different tools and technologies available to implement RAG. By the time you’re done reading, you’ll be ready to start building RAG enabled systems.

about the reader

For data scientists, and machine learning and software engineers, and technology managers who wish to build LLM based applications. Examples in Python—no experience with LLMs necessary.

about the author

Abhinav Kimothi is an entrepreneur and Vice President of Artificial Intelligence at Yarnit. He has spent over 15 years consulting and leadership roles in data science, machine learning and AI.

The book does a great job of deconstructing RAG and presenting it in digestible chunks.

Abhishek Gupta, Amazon Web Services

A good resource for beginners and an excellent refresher for experienced people.

Naga Santhosh Reddy Vootukuri, Senior Software Engineering Manager, Microsoft

I can highly recommend this book. Complex topics are broken down into small and easy to understand pieces.

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
RECENTLY VIEWED