Welcome to ADM - Automated Dungeon Master repository! ADM allows users to play a game of DND campaign with a fully automated dungeon master powered by GPT-3.
To install the required packages, run the following command:
pip install -r requirements.txt
- Install the latest version of this software directly from github with pip:
pip install git+https://github.com/mmabrouk/chatgpt-wrapper
- Install a browser in playwright (if you haven't already). The program will use firefox by default.
playwright install firefox
- Start up the program in
install
mode. This opens up a browser window. Log in to ChatGPT in the browser window, then stop the program.
chatgpt install
- Restart the program without the
install
parameter to begin using it.
- Install the latest OpenAI python bindings.
pip install openai
-
The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you'll use in your requests.
-
Add your API key to the .env file in the root directory of the repository
OPENAI_API_KEY=<YOUR-API-KEY>
- Run the
playDND.py
file to begin the game
python3 playDND.py
Gopal |
Mahek |
Ruthuvikas |
- In-game Text-to-speech voiceover
- Speech-to-text input
- Input as character sheet
- Dynamic music generation
- Stable Diffusion over DALL-E
This project is licensed under the Apache License 2.0. See the LICENSE file for more information.