Grokking AI: 50 Questions Every Engineer Asks
Vote

0% completed

​

Do I Need a Vector Database?

Short answer: Only for a very large collection. A vector database stores lists of numbers that represent the meaning of texts (embeddings, also called vectors), and it finds the closest ones quickly among millions. For a few thousand documents, a simpler option is enough. The program can compare the question with every embedding in memory, use an extension of the database you already run, or use plain keyword search.

Look at the blue dots in each panel. On the left, the program compares the question with every stored vector, and on the right it compares the question with one group only

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content