- Get your OpenAI API key here - https://beta.openai.com/account/api-keys
- Replace that key in the app.py code
- create a virtual environment
python3 -m venv chalice_env
source chalice_env/bin/activate
- Install the required libraries pip3 install -r requirements.txt
- run python app.py