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

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