mirror of https://github.com/knrd1/chatgpt.git
model update
This commit is contained in:
parent
e606878d45
commit
4d9d0cdec3
12
README.md
12
README.md
|
@ -1,7 +1,7 @@
|
|||
# ChatGPT
|
||||
ChatGPT is a simple IRC bot written in Python. It connects to OpenAI endpoints to answer questions or generate images.
|
||||
# ChatGPT IRC Bot
|
||||
ChatGPT IRC bot is a simple IRC bot written in Python. It connects to OpenAI endpoints to answer questions or generate images.
|
||||
|
||||
ChatGPT uses official bindings from OpenAI to interact with the API through HTTP requests:
|
||||
ChatGPT IRC Bot uses official bindings from OpenAI to interact with the API through HTTP requests:
|
||||
https://platform.openai.com/docs/api-reference
|
||||
|
||||
### Prerequisities:
|
||||
|
@ -49,7 +49,7 @@ password =
|
|||
$ python3 chatgpt.py
|
||||
```
|
||||
### Interaction:
|
||||
ChatGPT will interact only if you mention its nickname:
|
||||
ChatGPT IRC Bot will interact only if you mention its nickname:
|
||||
```
|
||||
10:31:12 <@knrd1> ChatGPT: hello, how are you?
|
||||
10:31:14 < ChatGPT> Hi there, I'm doing well, thank you. How about you?
|
||||
|
@ -57,14 +57,14 @@ ChatGPT will interact only if you mention its nickname:
|
|||
10:35:59 < ChatGPT> Yes, I like IRC. It is a great way to communicate with people from around the world.
|
||||
|
||||
```
|
||||
If you set the model to "dalle", the ChatGPT IRC bot will return a shortened URL to the generated image:
|
||||
If you set the model to "dalle", the ChatGPT IRC Bot will return a shortened URL to the generated image:
|
||||
```
|
||||
17:33:16 <@knrd1> ChatGPT: two horses dancing on the street
|
||||
17:33:23 < ChatGPT> https://tinyurl.com/2hr5uf4w
|
||||
```
|
||||
### Model endpoint compatibility
|
||||
|
||||
ChatGPT IRC bot can use three API endpoints.
|
||||
ChatGPT IRC Bot can use three API endpoints.
|
||||
|
||||
Following models support endpoint /v1/chat/completions:
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue