Artificial Intelligence
Vector database
Appears inAIF-C01
Database optimized for storing embeddings and performing similarity (nearest neighbor) searches efficiently at scale. On AWS, services like OpenSearch Service, Aurora (with pgvector), Neptune, and RDS for PostgreSQL can act as a vector store.
On the exam
In AIF-C01 (Domain 3) it's a core component of RAG architectures: documents are converted into embeddings and indexed in a vector database to retrieve the most relevant context for a user query.
Related terms
- EmbeddingsHigh-dimensional numeric representations that capture the semantic meaning of text, images, or other data. Elements with similar meaning end up close to each other in vector space, enabling similarity search.
- RAG (Retrieval-Augmented Generation)Technique that combines retrieving relevant information from an external source (vector database, documents) with generation from a language model, enabling answers grounded in up-to-date or private data without retraining the model.