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

2

The Transformer: The Model Behind the Modern AI Revolution

In this chapter, we will discuss the limitations of the models we saw in the previous chapter, and how a new paradigm (first attention mechanisms and then the transformer) emerged to solve these limitations. This will enable us to understand how these models are trained and why they are so powerful. We will discuss why this paradigm has been successful and why it has made it possible to solve tasks in natural language processing (NLP) that were previously impossible. We will then see the capabilities of these models in practical application.

This chapter will clarify why contemporary LLMs are inherently based on the transformer architecture.

In this chapter, we’ll be covering the ...

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