Added support for GPT-4 Models
This commit is contained in:
parent
21d67b266f
commit
e35d9a3bed
2 changed files with 14 additions and 1 deletions
11
README.md
11
README.md
|
@ -11,7 +11,16 @@ A minimalistic Python API for OpenAI's ChatGPT and Bing's Chatbot
|
|||
|
||||
You need an API key for the official ChatGPT API.
|
||||
|
||||
### Unofficial API for Bing Chatbot
|
||||
The following models are supported:
|
||||
|
||||
- GPT-4
|
||||
- GPT-4-0314
|
||||
- GPT-4-32k
|
||||
- GPT-4-32k-0314
|
||||
- GPT-3.5-Turbo
|
||||
- GPT-3.5-Turbo-0301
|
||||
|
||||
### Unofficial Bing Chatbot API
|
||||
|
||||
This requires your Cookies to be exported to a json file. See [EdgeGPT's README](https://github.com/acheong08/EdgeGPT#readme) for more infos.
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@ from urllib import request as http_request
|
|||
|
||||
class Models:
|
||||
'''This class holds available models'''
|
||||
GPT_4 = "gpt-4"
|
||||
GPT_4_0314 = "gpt-4-0314"
|
||||
GPT_4_32K = "gpt-4-32k"
|
||||
GPT_4_32K_0314 = "gpt-4-32k-0314"
|
||||
GPT_35_TURBO = "gpt-3.5-turbo"
|
||||
GPT_35_TURBO_0301 = "gpt-3.5-turbo-0301"
|
||||
|
||||
|
|
Reference in a new issue