Artificial Intelligence
Amazon Bedrock Knowledge Bases
Appears inAIF-C01
Bedrock feature that implements RAG in a managed way: it ingests documents, converts them into embeddings, indexes them in a vector database, and automatically connects them to a foundation model to enrich its responses with your own context.
On the exam
In AIF-C01 (Domain 3) it's the recommended way to implement RAG on AWS without building the pipeline manually. Question: give a Bedrock model access to the company's internal documentation with minimal configuration → Knowledge Bases.
Related terms
- 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.
- 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.