From the course: Hands-On AI: Build a RAG Model from Scratch with Open Source

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Setting up your Postgres vector database

Setting up your Postgres vector database

- [Instructor] In this video, we'll be setting up our database in a manner suitable for our vectors. This will mainly cover technical applications of deploying and accessing the database. So the first step is to install PostgreSQL on our Ubuntu operating system. So let's first run a sudo apt update to update the app package manager's information to ensure that any subsequent commands are installing the proper software versions. Next, we'll run sudo apt install -y wget ca certificates. So let's go ahead and do that to ensure that we have some basic packages necessary so that we can make the calls we need to make. It's very likely that you already have them. Now we're gonna go ahead and run the following command to store that Postgres repository in the file that you see here at the end of the command. So this was the command and it just ran. We're just making sure that the package manager knows where to find certain…

Contents