Gemini: Update README.md

This commit is contained in:
Gordon Shumway 2024-08-06 15:32:55 -04:00 committed by GitHub
parent 0ecd8d53e8
commit a122a14e0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@ Get an API key from https://aistudio.google.com/app/apikey
``` ```
@config plugins.gemini.api_key YOUR_KEY_HERE @config plugins.gemini.api_key YOUR_KEY_HERE
``` ```
system prompt: system prompt:
``` ```
@config plugins.gemini.prompt "You are $botnick the IRC bot. Be brief, helpful" @config plugins.gemini.prompt "You are $botnick the IRC bot. Be brief, helpful"
@ -23,6 +24,6 @@ system prompt:
^^ Command to send text to the chatgpt API ^^ Command to send text to the chatgpt API
``` ```
@messageparser add "(?i)(.*BOT_NICK_HERE)(?:[:]*)(.*)" "chat $1$2" @messageparser add "(?i)(.*BOT_NICK_HERE.*)" "chat $1"
``` ```
^^ replace BOT_NICK_HERE with your bot nick and add automatic replies to nick mentions ^^ replace BOT_NICK_HERE with your bot nick and add automatic replies to nick mentions