Python template app for conversational bot
This uses the Flask web framework. It is inspired from quickstart tutorial.
Setup
-
If you don’t have Python installed, install it from here
-
Clone this repository
-
Navigate into the project directory
-
Create a new virtual environment
$ python -m venv venv $ . venv/bin/activate
-
Install the requirements
$ pip install -r requirements.txt
-
Make a copy of the example environment variables file
$ cp .env.example .env
-
Add your [API key](https://beta.openai.com/account/api-keys to the newly created
.env
file -
Run the app
$ ./run_local.sh
You should now be able to access the app at http://127.0.0.1:5001!