/GPT-3-Conversational-Bot

A general-purpose annoying Discord bot based on GPT-3.

Primary LanguagePython

GPT-3 Conversational Bot

A general-purpose annoying Discord bot based on GPT-3

Getting started

Clone the repo and install all necessary dependencies:

pip install discord openai

The Discord bot token and OpenAI API key are stored in the config file config.json at the root of the project. It must contain the following key-value pairs:

{
  "token": "YOUR_TOKEN_HERE",
  "openai_api_key": "YOUR_OPENAI_API_KEY_HERE"
}

See https://discord.com/developers/applications and https://openai.com/api for more details.

Running the Bot

python main.py training_data/Grace_optimized.txt training_data/Grace_optimized.txt

TODO

  • Modify the training data to either have long conversations or make short, snappy responses
  • Make the responses sound like Grace
  • Work with temperature to make the bot lively
  • Menu in discord to manage options?
  • Support for separate simultaneous conversations
  • Different systems for whether it should answer and what it actually answers (turned out not to work)
  • Shorten the length of the usernames in the training data (sha1 hashes ?) (turned out not to work)