From 02243d3457a26055f924c4eb0f1bd1eb57b1b187 Mon Sep 17 00:00:00 2001 From: Gordon Shumway Date: Thu, 18 May 2023 01:31:17 -0400 Subject: [PATCH] ChatGPT: Update README.md --- ChatGPT/README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ChatGPT/README.md b/ChatGPT/README.md index ca30ce9..e0be275 100644 --- a/ChatGPT/README.md +++ b/ChatGPT/README.md @@ -3,17 +3,20 @@ Use the OpenAI ChatGPT API This plugin is under development and probably shouldn't be used by anyone... Get an API key from https://platform.openai.com/account/api-keys (free) - +``` @config plugins.chatgpt.api_key YOUR_KEY_HERE - +``` +system prompt: +``` @config plugins.chatgpt.prompt "You are $botnick the IRC bot. Be brief, helpful" - +``` ^^ Configurable per channel, etc. get creative - +``` @chat - +``` ^^ Command to send text to the chatgpt API +``` @messageparser add "(?i)(.*BOT_NICK_HERE.*)" "chat $1" - +``` ^^ replace BOT_NICK_HERE with your bot nick and add automatic replies to nick mentions