From the course: Hands-On AI: RAG using LlamaIndex
Setting up a Qdrant account - LlamaIndex Tutorial
From the course: Hands-On AI: RAG using LlamaIndex
Setting up a Qdrant account
- [Instructor] In this video, I'm going to show you how to get set up with a Qdrant cloud account. So you start by going to qdrant.tech, then hit on cloud. And from here you can sign in a number of ways. You can sign in with GitHub or with Google or just use your email address. I'll go ahead and sign up with GitHub. And once you sign in, we'll start by creating a cluster. So we'll create one cluster and this one cluster will have several collections within it. So this cluster name, we'll just call it the same thing that we're calling everything else, lil_llama_index. And then we're going to create the cluster. Now once you hit create cluster, you are going to be prompted with a API key or to create an API key. When you have that prompt, make sure again that you copy that API key and put it somewhere safe, because you're not going to be able to go back and look at this API key later. So go ahead and click get API key and copy that. I'll go ahead and stash this somewhere safe right now. We'll hit continue and you can copy and paste this code snippet if you ever want to access your Qdrant cluster through the command line. But once you do that, just go ahead and hit complete. And we've got an active cluster, it's starting to spin up and click on this down arrow right here and copy the cluster URL, 'cause we're going to need that as well. So copy and paste the cluster URL. Make sure you've got that saved. Let's go back to our environment here. Then we'll go to our .env file. Now, you can look at the .env example and see that I've got a Qdrant URL and Qdrant API key. Just go ahead and set this up right here. So we've got the Qdrant API key, we've got the Qdrant cluster URL as well. And there we go. So we've got our environment variables set up. You can look at the UI as well. Now, in order to get to the UI, you have to pass in your API key. So I do hope that you saved your API key, put it into a text file somewhere, of course, because you're going to need it. All right, I'm not going to go too much in depth in this series about the inner workings of vector databases. So I am actually writing a book on retrieval augmented generation called "Practical Retrieval Augmented Generation", and accompany that book, I have a YouTube channel that I think you should check out. So on my YouTube channel, you'll see I've got a playlist here. So this playlist here is essentially me kind of building in public, creating some materials to accompany my book. If you're watching this and you want to go deep into vector search and vector databases and frankly learn how to do retrieve augmented generation without the use of LlamaIndex, definitely check out my YouTube course and this series of videos. Of course, a subscribe always is welcome. So do make sure you subscribe to the channel as well. Enough promo for now. But we've got our Qdrant cluster set up and our Qdrant account is good to go and I want to point out that with the free tier of Qdrant, you get four gigabytes of disc space, one gigabyte of RAM and you get only one cluster, but this one cluster you can create a number of different collections. And now we can go ahead and really just start doing some rag. But first we need data.