What is it?
A vector database is a data system designed to store, index, and search vectors.
A typical stored item includes a vector, a reference to the original content, and metadata such as a document ID or source.
A vector database stores vector representations and provides ways to search them efficiently.
A vector database is a data system designed to store, index, and search vectors.
A typical stored item includes a vector, a reference to the original content, and metadata such as a document ID or source.
Think of it like a library where books are arranged by mathematical similarity rather than only alphabetically.
A new question can be matched with nearby books whose meaning is useful, even when the words are different.
Content ↓ Embedding Model ↓ Vectors ↓ Vector Database ↓ Query Vector ↓ Similarity Search ↓ Matching Records
Input: “Find my beach photos”
System: Compares the query vector with stored photo vectors
Output: Similar photos, even if filenames do not contain “beach”
Input: An employee asks about leave policy
System: Finds nearby policy chunks and returns their source references
Output: Relevant context for an answer
Vector database: Stores and indexes vectors.
Embedding: A numerical representation created from content.
Vector database: The data system and its indexes.
Vector search: The search method that compares vectors.
Vector database: Can provide searchable records.
RAG: A broader pattern that retrieves context before generation.
A vector database can support vector search and retrieval, which may become part of a RAG system.
Explore next
A vector database stores and indexes vectors so applications can search them efficiently.
A video explainer for this topic is not available yet.