May 2026
Intermediate
376 pages
9h 52m
English
In chapter 13, you learned about two key paradigms for language models: retrieval-augmented generation (RAG) and agentic AI. We built a RAG system from scratch, introduced vector databases for these applications, and implemented an AI agent using the open source smolagents framework. In this chapter, we’ll cover some new concepts and tools that can make RAG systems and agents more robust, and you’ll learn how to combine them.
In the previous chapter, you learned that RAG connects language models to external data sources, ...
Read now
Unlock full access