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: Create a custom RAG system with LlamaIndex
From the course: Developing RAG Apps with LlamaIndex and Next.js
Hands-on: Create a custom RAG system with LlamaIndex
So when we look at these example.js that we created, you can see that we go through the process of loading the essay and making sure everything is loaded in and create a document object with the essay we loaded. And, of course, we create the index by splitting and creating embeddings and store them in a vector store. That's what's happening here. Just one line of code. Okay. And then we do the querying through the index by using the query engine function to create that object. And then we pass in the question, the query through, and we get the information. And of course, we are looping through the source nodes, each piece to get more information about the score and other metadata. And so all of this is great. This is good to show you how Llama Index is able to abstract out all of the intricacies in the back end. Now, I'm going to show you how you would do the same thing. But now, more manually, or in this case, show you exactly the same process by customizing things ourselves. I think…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
LlamaIndex core concepts: Loaders index3m 52s
-
(Locked)
The querying stage: Overview2m 16s
-
(Locked)
Querying stage: ChatEngine and querying engine full overview4m 47s
-
(Locked)
Hands-on: Create a custom RAG system with LlamaIndex15m 7s
-
(Locked)
Hands-on: Structured data extraction6m 47s
-
(Locked)
Hands-on: Querying a PDF file5m 55s
-
(Locked)
Hands-on: Interacting with a RAG system through an Express API, full hands-on14m 28s
-
(Locked)
Summary2m 32s
-
(Locked)
-
-
-
-