From the course: Developing RAG Apps with LlamaIndex and Next.js

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Agents and advanced queries: The RouterQueryEngine overview

Agents and advanced queries: The RouterQueryEngine overview

From the course: Developing RAG Apps with LlamaIndex and Next.js

Agents and advanced queries: The RouterQueryEngine overview

All right. So now we're going to talk about agents and advanced queries. So what are we doing in this section? We're going to talk about Llama Index agents, the fundamentals, the basics, and the key features, as well as being able to create a Llama Index agent. You will see it's very, very simple, as well as doing lots of hands on creating complex applications using Query Engine tools. wrapper. So let's do a quick overview what an agent is. In this case, an AI agent. So an AI agent is an automated reasoning and decision engine. So it takes in a user input or query and can make decisions internally for executing that query in order to return the correct result. So if you look at this diagram here, we can have more than one agent, of course, but the idea is very simple. We have the query, and the query goes through the agent. So the agent is the one that has the tooling, has the capability of finding tools to get to the answer. So, for instance, an agent would work with the large…

Contents