What is a vector database?
A vector database is a database designed to store embeddings (vectors) and quickly find the records with the most similar meaning.
Explanation
An ordinary database looks for an exact match: a customer with a given company ID or an order with a given number. A vector database looks for similarity. It receives the vector of a question and returns the records whose vectors are closest to it, that is, content with the most similar meaning.
It is a key part of RAG systems: it holds the split-up company documents and, for each question, selects the most relevant parts from them. Metadata is stored along with the vectors, such as source, date or permissions, so that you can filter who may see what.
There are standalone vector databases, such as Pinecone, Qdrant, Weaviate or Milvus, and extensions to ordinary databases, such as pgvector for PostgreSQL. For smaller company projects an extension of a database the company already uses is often enough. It is important to pay attention to where the data is stored and who has access to it. For sensitive documents it matters that search respects the same permissions as the original systems.
Example from a company
A company stores internal policies and guides in a vector database. An employee asks in a chat how to approve a business trip, and the system finds the right paragraph of the policy, even though the question uses different words.
Related terms
Related AICO service
AI integrations: AI integrations for businesses: we connect AI to Pohoda, Money S3, iKROS, HubSpot, your store and email. AI prepares, you approve. From €990 excl. VAT.
Not sure where to start? Order a free AI Discovery: our person goes through your company with you, and within 24 hours you have an opportunity map.