initial commit

This commit is contained in:
konrad 2023-03-20 12:17:28 +00:00
parent 10f72111ad
commit 6024e09c3b
1 changed files with 8 additions and 0 deletions

View File

@ -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