mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 12:31:07 -05:00
ChatGPT: Update README.md
This commit is contained in:
parent
66d60de97c
commit
02243d3457
@ -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 <text>
|
||||
|
||||
```
|
||||
^^ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user