Mastering Retrieval-Augmented Generation
eBook - ePub

Mastering Retrieval-Augmented Generation

Building next-gen GenAI apps with LangChain, LlamaIndex, and LLMs (English Edition)

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Mastering Retrieval-Augmented Generation

Building next-gen GenAI apps with LangChain, LlamaIndex, and LLMs (English Edition)

About this book

Description
Large language models (LLMs) like GPT, BERT, and T5 are revolutionizing how we interact with technology — powering virtual assistants, content generation, and data analysis. As their influence grows, understanding their architecture, capabilities, and ethical considerations is more important than ever. This book breaks down the essentials of LLMs and explores retrieval-augmented generation (RAG), a powerful approach that combines retrieval systems with generative AI for smarter, faster, and more reliable results.It provides a step-by-step approach to building advanced intelligent systems that utilize an innovative technique known as the RAG thus making them factually correct, context-aware, and sustainable. You will start with foundational knowledge — understanding architectures, training processes, and ethical considerations — before diving into the mechanics of RAG, learning how retrievers and generators collaborate to improve performance. The book introduces essential frameworks like LangChain and LlamaIndex, walking you through practical implementations, troubleshooting, and optimization techniques. It explores advanced optimization techniques, and offers hands-on coding exercises to ensure practical understanding. Real-world case studies and industry applications help bridge the gap between theory and implementation.By the final chapter, you will have the skills to design, build, and optimize RAG-powered applications — integrating LLMs with retrieval systems, creating custom pipelines, and scaling for performance. Whether you are an experienced AI professional or an aspiring developer, this book equips you with the knowledge and tools to stay ahead in the ever-evolving world of AI.

What you will learn
? Understand the fundamentals of LLMs.
? Explore RAG and its key components.
? Build GenAI applications using LangChain and LlamaIndex frameworks.
? Optimize retrieval strategies for accurate and grounded AI responses.
? Deploy scalable, production-ready RAG pipelines with best practices.
? Troubleshoot and fine-tune RAG pipelines for optimal performance.

Who this book is for
This book is for AI practitioners, data scientists, students, and developers looking to implement RAG using LangChain and LlamaIndex. Readers having basic knowledge of Python, ML concepts, and NLP fundamentals would be able to leverage the knowledge gained to accelerate their careers.

Table of Contents
1. Introduction to Large Language Models
2. Introduction to Retrieval-augmented Generation
3. Getting Started with LangChain
4. Fundamentals of Retrieval-augmented Generation
5. Integrating RAG with LangChain
6. Comprehensive Guide to LangChain
7. Introduction to LlamaIndex
8. Building and Optimizing RAG Pipelines with LlamaIndex
9. Advanced Techniques with LlamaIndex
10. Deploying RAG Models in Production
11. Future Trends and Innovations in RAG

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Mastering Retrieval-Augmented Generation by Prashanth Josyula,Karanbir Singh in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Cover Page
  2. Title Page
  3. Copyright Page
  4. Dedication
  5. About the Authors
  6. About the Reviewers
  7. Acknowledgements
  8. Preface
  9. Table of Contents
  10. 1. Introduction to Large Language Models
  11. 2. Introduction to Retrieval-augmented Generation
  12. 3. Getting Started with LangChain
  13. 4. Fundamentals of Retrieval-augmented Generation
  14. 5. Integrating RAG with LangChain
  15. 6. Comprehensive Guide to LangChain
  16. 7. Introduction to LlamaIndex
  17. 8. Building and Optimizing RAG Pipelines with LlamaIndex
  18. 9. Advanced Techniques with LlamaIndex
  19. 10. Deploying RAG Models in Production
  20. 11. Future Trends and Innovations in RAG
  21. Index
  22. Back Cover