Building a Summarizer app using Amazon Bedrock and Bedrock Guardrails using AWS CDK
dev.to·1d·
Discuss: DEV
Flag this post

Building your own text summarization app using Amazon Bedrock, and pairing it with Bedrock Guardrails so it doesn’t go rogue!

Architecture

AWS Resources:

  • S3: Hosts the frontend of the app (html) API Gateway: Provides REST API endpoint to receive content and return summary
  • AWS Lambda: Processes content and invokes Amazon Bedrock with chosen model and route the request through Bedrock Guardrails the return the output
  • Amazon Bedrock: Provides access to AI foundation models. For this experiment we are using Claude 3 Haiku for its speed and cost-effectiveness
  • Amazon Bedrock Guardrails: Implements safeguards customized to your application requirements and responsible AI policies. IAM: Manages permissions for lambda and Amazon Bedrock access

Prerequisites:

  • AWS…

Similar Posts

Loading similar posts...