mirror of https://github.com/knrd1/chatgpt.git
initial commit
This commit is contained in:
parent
6a173b538a
commit
77e24a5faf
|
@ -26,10 +26,6 @@ port = 6667
|
|||
channel = "#irc"
|
||||
nickname = "MyBot"
|
||||
```
|
||||
Optionally you can edit the engine, the list of compatible engines below:
|
||||
```
|
||||
engine="text-davinci-003",
|
||||
```
|
||||
IMPORTANT: When you specify "nickname", make sure you replace ALL occurences of ChatGPT in chatgpt.py file to the new nickname. For example, if your bot nick name is "MyBot", do:
|
||||
```
|
||||
$ sed -i 's/ChatGPT/MyBot/g' chatgpt.py
|
||||
|
@ -43,6 +39,10 @@ https://platform.openai.com/docs/api-reference/completions
|
|||
frequency_penalty=0,
|
||||
presence_penalty=0
|
||||
```
|
||||
Also you can edit the engine, the list of compatible engines below:
|
||||
```
|
||||
engine="text-davinci-003",
|
||||
```
|
||||
### Connecting bot to IRC server:
|
||||
```
|
||||
$ python3 chatgpt.py
|
||||
|
|
Loading…
Reference in New Issue