This is a bot for playing dungeons and dragons
-
If you don’t have Python installed, install it from here
Documentation for the OpenAI chatGPT API is available here.
-
Clone this repository
$ git clone [email protected]:csymonds/rando.git
-
Navigate into the project directory
$ cd rando
-
Virtualize (Note: Windows users will see
venv/Scripts/activate
)$ python -m venv venv $ . venv/Scripts/activate
-
Install the library dependencies
$ pip3 install -r requirements.txt
-
Add keys
Step 1: Make a copy of the example environment variables files
$ cp example_key_openai.txt key_openai.txt
Step 2: Copy in your key to the respective file
Add your OpenAI API key to the newly created
key_openai.txt
file -
Deactivate
$ deactivate