Skip to Content
Building AI Agents with LLMs, RAG, and Knowledge Graphs
book

Building AI Agents with LLMs, RAG, and Knowledge Graphs

by Salvatore Raieli, Gabriele Iuculano
July 2025
Intermediate to advanced
566 pages
16h 27m
English
Packt Publishing
Content preview from Building AI Agents with LLMs, RAG, and Knowledge Graphs

9

Creating Single- and Multi-Agent Systems

In previous chapters, we discussed a number of components or tools that can be associated with LLMs to extend their capabilities. In Chapters 5 and 6, we addressed in detail how external memory can be used to enrich the context. This allows the model to obtain additional information to be able to answer user questions when it does not know the answer (when it hasn’t seen the document during pre-training or it relates to information after the date of their training). Similarly, in Chapter 7, we saw that knowledge graphs can be used to extend the model’s knowledge. These components attempt to solve one of the most problematic limitations of LLMs, namely, hallucinations (an output produced by the model ...

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.
Start your free trial

You might also like

Modern Automated AI Agents: Building Agentic AI to Perform Complex Tasks

Modern Automated AI Agents: Building Agentic AI to Perform Complex Tasks

Sinan Ozdemir

Publisher Resources

ISBN: 9781835087060Supplemental Content