Chapter 9: RAG Framework and Vector Databases

We have now landed on the most important segment of this book and a very useful application of LangChain i.e. RAG. This would be a lengthy chapter that will introduce you to several new concepts. So let’s get started with a baseline understanding of RAG first.

9.1 What is RAG?

Let’s break the name one word at a time:

 

  1. Retrieval: The term "retrieval" denotes the action of locating and returning an item or the process of obtaining information from storage or memory.
  2. Augmented: Augmentation is the act of improving or supplementing an existing object, system, or environment by enhancing or adding elements.
  3. Generation: Generation commonly signifies the process or act of generating or creating something ...

Get LangChain in your Pocket now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.