Artificial Intelligence
Embeddings
Appears inAIF-C01Gen AI Leader
High-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.
On the exam
In AIF-C01 (Domains 2 and 3) they're the foundation of RAG and semantic search. Amazon Bedrock offers embedding models (e.g., Titan Embeddings) to convert documents into vectors that are then stored in a vector database. In GENAI-L (Domain 3) the equivalent is Vertex AI's Embeddings API, used together with Vertex AI Vector Search for RAG.
Related terms
- Vector databaseDatabase 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.
- 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.
- Amazon BedrockFully managed service that provides API access to foundation models from multiple providers (Anthropic, Meta, Amazon Nova and Titan, Mistral, Cohere, Stability AI) without managing infrastructure. Includes Knowledge Bases (RAG), Agents, Guardrails, and fine-tuning and model evaluation capabilities.
- Vertex AI Vector SearchA managed Google Cloud service for indexing embeddings and performing large-scale, low-latency similarity (nearest neighbor) searches, a core component of RAG architectures within Vertex AI.