From the course: Level up LLM applications development with LangChain and OpenAI
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Load sample data and create the vector store
From the course: Level up LLM applications development with LangChain and OpenAI
Load sample data and create the vector store
- [Instructor] MongoDB provides an easy way to load the sample data and index documents. So we're going to find here these documentations to get started easily and quickly with the LangChain integration, and we're going to find the prerequisites, which is already covered. We have also covered the parts, which is to set up the environment, and how to use here the vector store. So we have here made the connections to the Atlas cluster and defined the collection and database name. What's left to do, we're going to do that very soon, is to create a Vector Search index and provide the index name. So what we want to do now is to load the sample data. So we're going to find here code snippets examples. We're going to use the same example, actually. First to load the PDF documents, so we're going to copy these two lines. And what we want to load is this PDF documents from this URL. And this is this documentation that we want to load into our e-learning database that gives instructions about…
Contents
-
-
-
-
-
-
-
-
(Locked)
Getting started with MongoDB: Create an account1m 35s
-
(Locked)
Build and deploy a free cluster1m 41s
-
(Locked)
Set up the MongoDB environment and connect to the cluster6m 23s
-
(Locked)
Create a secured database access (user)3m 27s
-
(Locked)
Load sample data and create the vector store4m 18s
-
(Locked)
Create the Atlas Vector Search index4m 4s
-
(Locked)
Run vector search queries5m 33s
-
(Locked)
-
-
-
-
-