diff --git a/README.md b/README.md new file mode 100644 index 0000000..a08447c --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Requirements +`python3.7 -m pip install openai` +`python3.7 -m pip install dotenv` +`python3.7 -m pip install discord` (This should be the discord.py rewrite, not the pycord library) + +OpenAI API Key (https://beta.openai.com/docs/api-reference/introduction) +Discord Bot Token (https://discord.com/developers/applications) + +Both the OpenAI API key and the Discord bot token needed to be loaded into a .env file in the same local directory as the bot file. +``` +OPENAI_TOKEN="TOKEN" +DISCORD_TOKEN="TOKEN" +``` + +# Usage +`python3.7 bot.py` + +# Commands +`!g` - Display help text for the bot +`!gp` - Display settings for the model (temperature, top_p, etc) +`!gs ` - Change a model setting to a new value +`!g ` Ask the GPT3 Davinci 003 model a question.