Part 3 Q&A chatbots
This part marks a shift from summarizing information to answering meaningful questions. Here, you’ll dive into Retrieval-Augmented Generation (RAG)—the core technique that enables LLMs to perform question answering over large or private knowledge bases. You’ll learn how RAG combines three critical components—vector stores, retrievers, and language models—to locate semantically relevant information and synthesize grounded, coherent answers. Rather than relying solely on the model’s internal knowledge, you’ll see how to anchor responses in external data, dramatically improving accuracy and trustworthiness.
You’ll begin by building the essential pieces of a RAG system from scratch to fully understand how they work together. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access