← Back to Dashboard
1. RAG Architecture in Bedrock2. Chunking, Ranking, and Freshness
RAG Architecture in Bedrock
📚 Knowledge Bases and RAG⏱ 12 min⭐ 80 XP⌨ Hands-on lab
Ground Responses in Enterprise Data
RAG combines retrieval and generation so model answers are grounded in your approved documentation. Amazon Bedrock Knowledge Bases offers two paths:
- Managed Knowledge Base (recommended) - AWS handles ingestion, chunking, embedding, re-ranking, and storage auto-scaling. Built-in connectors cover Amazon S3, SharePoint, Confluence, Google Drive, OneDrive, and Web Crawler, with document-level ACL filtering at query time and Smart Parsing for PDFs, PPTX, DOCX, and embedded visuals.
- Customer-managed Knowledge Base - you own the vector store (OpenSearch Serverless, Aurora, Neptune) and the full ingestion/indexing pipeline for maximum control.
- Ingest source documents (or connect a structured/graph data source).
- Create embeddings for semantic retrieval (multimodal embeddings for image-aware search).
- Fetch top relevant chunks at query time, optionally via agentic multi-hop retrieval.
- Compose a grounded prompt with citations.
Managed Knowledge Bases integrate natively with AgentCore Gateway, so any MCP-compatible agent framework can discover and call your knowledge base as a tool with no custom glue code. RAG reduces hallucination risk and improves trust when citations are surfaced.
⌨ HANDS-ON LABDesign a Retrieval Pipeline
⭐ +150 XPMap documents, embeddings, retrieval, and response synthesis for a support assistant.
1Define your corpus folders for ingestion.
2Write a retrieval acceptance checklist.
OBJECTIVE 1 / 2 — type "hint" if stuck
🧪 Knowledge Check
Press 1-4 to select1 of 3
What is the biggest reliability gain from RAG?
Infinite context size
Grounded responses from approved corpora
No need for prompts
No need for evaluation