mirror of https://github.com/knrd1/chatgpt.git
initial commit
This commit is contained in:
parent
10f72111ad
commit
6024e09c3b
|
@ -32,6 +32,14 @@ IMPORTANT: When you specify "nickname", make sure you replace ALL occurences of
|
|||
```
|
||||
$ sed -i 's/ChatGPT/MyBot/g' chatgpt.py
|
||||
```
|
||||
You can optionally adjust following settings, for more details see https://platform.openai.com/docs/api-reference/completions
|
||||
```
|
||||
temperature=1,
|
||||
max_tokens=300,
|
||||
top_p=1,
|
||||
frequency_penalty=0,
|
||||
presence_penalty=0
|
||||
```
|
||||
### Connecting bot to IRC server:
|
||||
```
|
||||
$ python3 chatgpt.py
|
||||
|
|
Loading…
Reference in New Issue