Vector Database
StorageA vector database is a database designed to store vectors (embeddings) and answer similarity or nearest-neighbor queries efficiently. DocLD uses a vector database for knowledge base chunks: vector search runs against the vector database to power RAG retrieval.
Capabilities
- Upsert — Store embeddings with metadata (e.g., document-id, page, chunk-id).
- Query — Given a query embedding, return the most similar vectors (top-k) and optional metadata filtering.
- Namespace — Organize vectors by namespace (e.g., per knowledge base).
DocLD’s vector index is backed by the vector database; ingestion and reindex update the vector database.
Related Concepts
The vector database backs the vector index and vector search. Embedding and retrieval depend on it.