Skip to content

A Python script that turns ChatGPT into a D&D DM

License

Notifications You must be signed in to change notification settings

ThatBeADragon/dungeon_gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Dungeon GPT

A Python script that turns ChatGPT into a Dungeon/Game Master for a tabletop roleplaying game.

Installation

  • Clone this repo: git clone https://github.com/ThatBeADragon/dungeon_gpt
  • Install Python 3.7.1 or higher: https://www.python.org/downloads/
  • (Optional) Setup a virtual environment: python -m venv dungeon_gpt dungeon_gpt\Scripts\activate
  • Enter directory: cd dungeon_gpt
  • Set OpenAI API key: setx OPENAI_API_KEY "your-api-key-here"
  • Install the OpenAI Python library: pip install --upgrade openai
  • Install the Langchain library: pip install --upgrade langchain
  • Run the app: python dungeon.py

Releases

No releases published

Packages

No packages published

Languages