An AWS Lambda function that handles completions from OpenAI's GPT-3 API.
- Modify values in env.template.json and rename to
env.json
. - Modify values in event.json for testing.
- Install dependencies:
pip install -r requirements.txt
- Build the project:
make build
- Validate, test locally, test in cloud, or deploy using make commands.
# Validate the SAM template
make validate
# Build the SAM template
make build
# Test locally
make test
# Test in the cloud
make test-cloud
# Deploy to AWS
make deploy
This project is licensed under the MIT License - see the LICENSE file for details.