Agents & Tools · intermediate
Vector Database (vector store)
A vector database stores high-dimensional embeddings and answers "find the K nearest vectors to this query" extremely fast. The retrieval engine behind most RAG systems.
Explanation
Vector DBs index millions to billions of embeddings using algorithms like HNSW or IVF so nearest-neighbor search runs in milliseconds instead of seconds. They typically also store metadata so you can filter ("nearest among documents from last week") alongside vector similarity.
Popular options include Pinecone, Weaviate, Qdrant, Milvus, pgvector (Postgres extension), and Chroma. For small workloads, in-memory indexes via FAISS or LanceDB are often enough.
Examples
- Pinecone hosting embeddings for a customer-support RAG.
- pgvector inside a Postgres app for semantic search.
Frequently asked
What is Vector Database?
A vector database stores high-dimensional embeddings and answers "find the K nearest vectors to this query" extremely fast. The retrieval engine behind most RAG systems.
What is an example of vector database?
Pinecone hosting embeddings for a customer-support RAG.
How is Vector Database related to Embedding?
Vector Database and Embedding are both agents & tools concepts. An embedding is a list of numbers (a vector) that represents a piece of input — a word, a sentence, an image — in a space where similar things end up close together.
Is Vector Database considered intermediate?
Vector Database is generally considered intermediate-level material in the AI and LLM space.