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.
Set up the MongoDB environment and connect to the cluster
From the course: Level up LLM applications development with LangChain and OpenAI
Set up the MongoDB environment and connect to the cluster
- [Instructor] So now we need to create a database and a collection, then later, a vector search index. That's going to be at a later step, because we need a database to store our own data. So let's go to Browse Collections. So here you will notice that you already have some simple data. This is just for testing and getting started, so we can simply ignore it, and we're going to here click Create to create our own database. And I'm going to name this one, my database elearning, because I want to create a repository to store valuable knowledge and educational materials. Then for the collection name, that's going to be mongodb-training. And then we can go ahead and click Create. All right, very quick. So once this is done, we can then go back, because now we want to see how to connect to the Cluster from our Python projects. So we're going to select here this link to connect. And here you're going to find different options to connect to your application code. And we're going to use this…
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)
-
-
-
-
-