This is a simple project developed with Python and AWS CDK showing how to create our first project using AWS serverless services (e.g. AWS Lambda) together with AI service Amazon Bedrock. It was used for the demo session on 12th of June 2024 during AWS User Group Meetup in Warsaw, Poland on the session called "Serverless and AI - Can this be the new technological love story?".
- Docker
- AWS CDK CLI
- AWS CLI
- node.js
- Python 3.12
- Poetry
- Clone the repo
git clone git@github.com:amswiatkowski/serverless-and-ai.git
- Install dependencies
poetry install --sync
- Deploy the project
./deploy.sh --region us-east-1
- Run frontend locally to be able to have a conversation with chatbot
./run_webapp.sh
./lint.sh
Fixes indents and checks your code quality./destroy.sh --region us-east-1
Triggers cdk destroy./deploy.sh --region us-east-1
Deploys stack to the AWS account./run_webapp.sh
Runs frontend locallypytest -vv ./tests
Run tests
Adam Świątkowski
Copyright © 2024, Adam Świątkowski. Released under the MIT License.