A e-mail response service that uses AWS Bedrock to automatically respond to customer inquiries. This open-source project demonstrates how to integrate generative AI into a simple application.
- Automatic response to e-mails using AWS Bedrock
- Utilizes Claude (Anthropic) as the AI model
- Example code in Python
- An AWS account with access to AWS Bedrock
- Python 3.x installed
- Enable the corresponding model for your AWS region on https://console.aws.amazon.com/bedrock/ (anthropic.claude-v2:1)
- We are using task instead of make (brew install go-task/tap/go-task)
- Account at https://serverless.com/
- Clone the repository:
git clone https://github.com/tomas-st/bedrock-ai-agent-for-email.git cd bedrock-ai-agent-for-email - Install Python dependencies:
pip install -r requirements.txt
- Make sure to have your AWS credentials setup:
aws configure
docker compose up -dReplace the AWS region if necessary and then execute the script:
python chatbot.py- Integrate with a database for personalized responses
- Deploy as an AWS Lambda function
- Connect with Amazon Lex for voice recognition
This project is licensed under the MIT License. See the LICENSE file for more details.
Pull requests are welcome! Please open an issue before making significant changes.