bedrock-rag-platform logo

bedrock-rag-platform

Free

Retrieval-Augmented Generation on Amazon Bedrock: Knowledge Base + OpenSearch Serverless, API Gateway + Lambda RetrieveAndGenerate, least-privilege IAM, budget guardrail.

Visit Website
Related by shared tags and keywordssecuremindbedrcokHackaton-Encerramento-Lia-AI-R
generative-aiawsbedrockclaudellmaiai assistantautomation

Overview

Bedrock RAG Platform is a production-shaped Retrieval-Augmented Generation stack on Amazon Bedrock. It combines a Bedrock Knowledge Base backed by S3 and OpenSearch Serverless with a Lambda and API Gateway query API that calls RetrieveAndGenerate with Anthropic Claude. The project includes least-privilege IAM per component and a budget guardrail that caps spend. Terraform is used for infrastructure and Python for the API. The repository is maintained by nrobertio and is described as a generic, public version of production GenAI work: document-grounded assistants on Bedrock with security and cost controls. The architecture flows from API Gateway to a Python Lambda, which calls Bedrock RetrieveAndGenerate. The Knowledge Base retrieves from OpenSearch Serverless vectors and S3 source documents, while Claude generates grounded answers with citations. The layout includes terraform/ for Knowledge Base, OpenSearch Serverless, S3, IAM, API Gateway, Lambda, and Budget; lambda/query/ for the Python handler; and docs/PROJECT.md for rationale and notes. Usage involves running terraform init and terraform apply, uploading documents to the KB data-source S3 bucket, syncing the Knowledge Base, and sending a POST request to the API endpoint with a question. A cost and safety note warns that Bedrock and OpenSearch Serverless are billed per use and per OCU, not free-tier, and that the included Budget alerts on spend. It advises destroying resources when finished and never sending secrets or personal data into prompts. The project is licensed under MIT.

Pricing

Free

Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.

Visit Website

Prices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.

Use Cases

  • Teams use Bedrock RAG Platform to build document-grounded assistants on Bedrock with security and cost controls.
  • Teams use Bedrock RAG Platform to query a Bedrock Knowledge Base through RetrieveAndGenerate.
  • Teams use Bedrock RAG Platform to expose a Python Lambda API that answers questions with citations.
  • Teams use Bedrock RAG Platform to enforce least-privilege IAM per role and input size limits.
  • Teams use Bedrock RAG Platform to set an AWS Budget alert that prevents runaway prompt loops from silently racking up spend.
  • Teams use Bedrock RAG Platform to provision all infrastructure with Terraform and a Python handler.

Features

Bedrock Knowledge Base for document retrieval

S3 backed document storage

OpenSearch Serverless vector search backend

Lambda and API Gateway query API

Claude powered RetrieveAndGenerate responses

Least privilege IAM per component

Budget guardrail for spending control

Reviews

No reviews yet. Be the first to share your experience!