This is a test program for Bedrock.
Please follow the instructions at
- Create a
.env
file in the project root with your AWS credentials:
AWS_ACCESS_KEY_ID=your_access_key_here
AWS_SECRET_ACCESS_KEY=your_secret_key_here
AWS_REGION=ap-northeast-1
BEDROCK_MODEL_ID=apac.anthropic.claude-3-5-sonnet-20241022-v2:0
- Install required dependencies:
uv pip install python-dotenv boto3
Please follow the instructions at :
https://docs.astral.sh/uv/getting-started/installation/
uv run main.py