AWS provides a Terraform project that deploys a Bedrock knowledge base with an OpenSearch Serverless index, IAM roles and S3 data source, with configurable chunking and vector dimensions.
Who it is for
Teams that built a RAG prototype in the Bedrock console and want to move it to Terraform-managed infrastructure for production.
Key points
Default embedding model is Titan Text Embeddings V2, which needs model access enabled first.
Chunking options are DEFAULT, FIXED_SIZE, HIERARCHICAL and SEMANTIC, with tunable token limits.
Vector dimension defaults to 1024 and is set in variables.tf.
The post is a sample from the AWS Samples GitHub repository, not a managed product feature.
AI:Shows how to deploy a multi-agent system on Bedrock AgentCore that classifies documents, extracts fields with LLMs, validates them and saves learned extraction instructions for reuse on similar documents.
AI:A reference architecture that drafts knowledge base articles from resolved ITSM incident clusters and curates the library by deduplicating, scoring and rewriting articles, with a human approving output.
AI:Shows a multimodal retrieval pipeline that embeds manufacturing images and PDF pages directly with Nova Multimodal Embeddings, instead of OCR text, stored in S3 Vectors.