Demonstrates how Temporal and Amazon Bedrock can be used to quickly build bulletproof AI applications.
- basic - A basic Bedrock workflow to process a single prompt.
- signals_and_queries - Extension to the basic workflow to allow multiple prompts through signals & queries.
- entity - Full multi-Turn chat using an entity workflow..
- An AWS account with Bedrock enabled.
- A machine that has access to Bedrock.
- A local Temporal server running on the same machine. See Temporal's dev server docs for more information.
These examples use Amazon's Python SDK (Boto3). To configure Boto3 to use your AWS credentials, follow the instructions in the Boto3 documentation.
For these sample, the optional bedrock
dependency group must be included. To include, run:
poetry install --with bedrock
There are 3 Bedrock samples, see the README.md in each sub-directory for instructions on running each.