Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.15 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.15 KB

AI Chatbot example using Amazon Bedrock

Demonstrates how Temporal and Amazon Bedrock can be used to quickly build bulletproof AI applications.

Samples

  • 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..

Pre-requisites

  1. An AWS account with Bedrock enabled.
  2. A machine that has access to Bedrock.
  3. 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.

Running the samples

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.