ChatGPT: Update README (Model, Nick Mentions)

This commit is contained in:
Gordon Shumway 2024-08-09 01:06:08 -04:00 committed by GitHub
parent 6564d4d158
commit ac3b4b5976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 1 deletions

View File

@ -7,6 +7,12 @@ Get an API key from https://platform.openai.com/account/api-keys
@config plugins.chatgpt.api_key YOUR_KEY_HERE
```
Model:
```
@config plugins.chatgpt.model gpt-4o-mini
```
^^ Use this config to set the language model. Current recommendation: gpt-40-mini
History:
```
@config plugins.chatgpt.max_history 10
@ -32,4 +38,8 @@ System Prompt:
```
@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.
```
@config reply.whenaddressedby.nick False
```
^^ You might want to set the above to false if using messageparser to reply on nick mentions.