Vector Database
A special kind of storage built to hold the numeric coordinates that represent meaning and to find the closest matches quickly. Instead of searching for exact words, it searches for things that mean much the same. This meaning-aware store is called a vector database.
Once text has been turned into embeddings, those numeric coordinates for meaning need somewhere to live. A vector database is storage designed for exactly that. Its speciality is answering a particular question very fast: given this piece of meaning, what stored items are closest to it?
Compare it with an ordinary database, which is brilliant at exact matches. Ask it for the customer named “Priya Patel” and it finds that precise record. A vector database works differently. Ask it for things similar in meaning to “how do I reset my password” and it returns the nearest matches, even if they use quite different words, such as “I have forgotten my login details”.
This ability to search by meaning rather than exact wording is what makes vector databases so useful for AI. When a system needs to pull up the most relevant documents to help answer your question, a vector database is often what does the finding, quickly and at scale.
You will most often meet vector databases as the memory behind retrieval-augmented generation, where an AI looks up relevant material before it replies. This is a more technical, intermediate topic, so there is no need to master the details to benefit from the tools built on top of it.
Related terms
Used in
- What are embeddings? · Guide