AI Glossary
Vector Database
A database that stores embeddings and finds the most similar ones quickly.
A vector database indexes embeddings so a system can retrieve the passages most semantically relevant to a query. It is the retrieval layer of most RAG architectures.
Vector Database in practice
Many organisations do not need a separate product: Azure AI Search, PostgreSQL with pgvector and similar services can store vectors alongside existing data. The choice depends on volume, the need for hybrid keyword-plus-semantic search, security integration and where the data must reside.
Guides that cover this
- RAG Explained: How to Make AI Answer from Your Company's Knowledge
- Azure OpenAI Service: The Complete Guide for UK Enterprises
Related terms
- Embedding
- A numeric representation of text that captures its meaning for search and comparison.
- RAG (Retrieval-Augmented Generation)
- Grounding a model's answers in your own documents retrieved at query time.
- LLM (Large Language Model)
- A model trained on large volumes of text that predicts and generates language.
- Context Window
- The maximum amount of text a model can consider at once, measured in tokens.
- Hallucination
- When a model states something false with confidence because it generates rather than looks up answers.