Simple Guide to Retrieval Augmented Generation

Cover of Simple Guide to Retrieval Augmented Generation

EPUB · English

Price and availability

EPUB eBookUS store

$55.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
1 July 2025
ISBN
9781638357582
Subjects
Programming & scripting languages: general, Artificial intelligence, Natural language & machine translation, Programming and scripting languages: general, Artificial intelligence (AI), Natural language and machine translation

About this book

Everything you need to know about Retrieval Augmented Generation in one human-friendly guide.Augmented Generationor RAGenhances an LLMs 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, its also easy to understand and implement!In A Simple Guide to Retrieval Augmented Generation youll learn:The components of a RAG systemHow to create a RAG knowledge baseThe indexing and generation pipelineEvaluating a RAG systemAdvanced RAG strategiesRAG tools, technologies, and frameworksA Simple Guide to Retrieval Augmented Generation gives an easy, yet comprehensive, introduction to RAG for AI beginners. Youll go from basic RAG that uses indexing and generation pipelines, to modular RAG and multimodal data from images, spreadsheets, and more.About the TechnologyIf you want to use a large language model to answer questions about your specific business, youre 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 users prompt and the retrieved material as context. This avoids hallucination and lets you decide what it says.About the BookA 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, youll build a complete system yourselfeven if youre new to AI!Whats InsideRAG components and applicationsEvaluating RAG systemsTools and frameworks for implementing RAGAbout the ReadersFor data scientists, engineers, and technology managersno prior LLM experience required. Examples use simple, well-annotated Python code.About the AuthorAbhinav 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.Table of ContentsPart 11 LLMs and the need for RAG2 RAG systems and their designPart 23 Indexing pipeline: Creating a knowledge base for RAG4 Generation pipeline: Generating contextual LLM responses5 RAG evaluation: Accuracy, relevance, and faithfulnessPart 36 Progression of RAG systems: Nave, advanced, and modular RAG7 Evolving RAGOps stackPart 48 Graph, multimodal, agentic, and other RAG variants9 RAG development framework and further exploration

Bibliographic data © Gardners Books Ltd.