From 849d29fc28fbb6a8f1767430ff2a6f523f1a0264 Mon Sep 17 00:00:00 2001 From: Gordon Shumway Date: Tue, 6 Aug 2024 15:27:54 -0400 Subject: [PATCH] ChatGPT: Update README.md --- ChatGPT/README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ChatGPT/README.md b/ChatGPT/README.md index e0be275..6d10641 100644 --- a/ChatGPT/README.md +++ b/ChatGPT/README.md @@ -2,15 +2,28 @@ 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) +Get an API key from https://platform.openai.com/account/api-keys ``` @config plugins.chatgpt.api_key YOUR_KEY_HERE ``` -system prompt: + +History: +``` +@config plugins.chatgpt.max_history 10 +``` +^^ Use this config to set maximum number of messages to keep in your history. 0 to disable. + +System Prompt: ``` @config plugins.chatgpt.prompt "You are $botnick the IRC bot. Be brief, helpful" ``` ^^ Configurable per channel, etc. get creative + +``` +@config list plugins.chatgpt +``` +^^ Please take a look at the various options and configure stuff before you do anything. + ``` @chat ```