Example

Usage

Get your keys from here.

1

Create a virtual environment

Open the Terminal and create a python virtual environment.

2

Install libraries

pip install -U boto3 phidata
3

Export Environment Variables

  export AWS_ACCESS_KEY_ID=***
  export AWS_SECRET_ACCESS_KEY=***
  export AWS_DEFAULT_REGION=***
4

Run AWS Bedrock Agent

python cookbook/providers/bedrock/basic.py

Information