Part 5: Retrieval and Knowledge Integration in Large Language Models
We conclude this book by examining techniques that enhance LLMs with external knowledge through retrieval-augmented generation (RAG) methods. You will learn how to design retrieval systems that efficiently access relevant information, integrate structured knowledge into model outputs, and leverage graph-based retrieval to enrich responses with contextual relationships. Advanced RAG patterns, such as iterative and adaptive retrieval, will be explored, helping you create models capable of dynamic knowledge integration. We also discuss evaluation methodologies to measure retrieval quality and effectiveness. The final chapter introduces agentic patterns, enabling you to build autonomous systems that combine reasoning, planning, and decision-making. By mastering these techniques, you will be able to create LLMs that are not only informed but also capable of goal-directed behavior.
This part has the following chapters...