From the course: Redis + AI: Building a Vector Database with Redis

Unlock this course with a free trial

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

How do vector databases work?

How do vector databases work?

- [Instructor] Let's now double down on how Vector databases work to cement the understanding of these tools now that we've seen how individually they work and now that we've also covered concept of embeddings. Remember, so Vector database is to us is a tool that does essentially what you see here in the screen. It takes an input data, somehow turns it into a collection of numbers, a vector, and then stores that vector internally in a space that we can interpret as a multidimensional space for our purposes. That information, we can interpret it as geometric information, but it doesn't really have to be treated or it isn't specifically that, we just use it because we gave it that meaning through the embeddings. The algorithm that you use to create embeddings will use those properties as well as the content itself to create embedding and then send it to the database. That is how you create essentially the vector through the embeddings. The vector, the numerical representation of your…

Contents