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.
Summary
From the course: Developing RAG Apps with LlamaIndex and Next.js
Summary
All right, so you've just learned how to persist data. In this case, we went through a step of creating the storage context where we tell it where we're going to save that data. Okay. So and then we went ahead and loaded the data and created an index. So we can see here nothing new, but notice that we're getting the data from our data folder with this information. And then once we ran all of that, of course, course, we created the index and passed in the storage context. And then we created the engine to start doing the querying. Okay. And when we first ran, you notice that something happened. What happened was that then this storage director was created. And this is our storage, actually, because everything is saved as a JSON. If you click through, you can see that we have embeddings and everything. We have the index store, the JSON and the doc store, everything where the actual information is there. So these are long, very long JSON files because this is the per se the storage, this…
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.