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.

Hands-on: Interacting with a RAG system through an Express API, full hands-on

Hands-on: Interacting with a RAG system through an Express API, full hands-on

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

Hands-on: Interacting with a RAG system through an Express API, full hands-on

So now I'm going to show you a full hands on where we're going to create an API so that we can actually interact with a rack system through that API. So the idea we know that a query comes in through retriever that fetches nodes based on the query and then we have response synthesizer and that creates response from large model using query and fetch and fetched nodes and everything and then that is also then passed through the large language model which generates response using those retrieved nodes and everything. So the idea is that we want to create an API that taps into all of this. So this API will allow the communication with a client of some sort which will tap into this whole query agent pipeline flow which of course this app will continuously passing those queries. In fact this should be probably here. That way this API is going to expose our information, the responses, to our clients, right? Let's go ahead and do that. Okay, so this guide or this hands-on is going to be a…

Contents