Skip to content

Bricktech2000/GPT-3-Conversational-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages