This repository provides everything you need to run the Amazon Bedrock Product Review Agent sample client app in a container or on Kubernetes.
- Dockerfile for building a container image to run the client app.
- Helm chart for deploying the client app to Kubernetes, with all configuration in
values.yaml
.
- Build the image:
docker build -t bedrock-pra-client-demo .
- Run the container (pass your agent ID and alias):
The app will be available at http://localhost:8501.
docker run -e AGENT_ID=your-agent-id -e AGENT_ALIAS=your-agent-alias -e AWS_DEFAULT_REGION=your-aws-region -e AWS_ACCESS_KEY_ID=your-aws-access-key-id -e AWS_SECRET_ACCESS_KEY=your-aws-secret-key -p 8501:8501 bedrock-pra-client-demo
- Customize
helm-chart/values.yaml
as needed (image, environment variables, etc). - Install the chart:
helm install bedrock-pra ./helm-chart
- Optionally, set service type to
LoadBalancer
invalues.yaml
to expose externally.
product-review-agent/
— The client app code and requirements.Dockerfile
— Multi-stage build for the client app image.helm-chart/
— Helm chart for Kubernetes deployment.scripts/
— Utility scripts (e.g.,run.sh
).
Maintained by Riptides Labs.