diff --git a/README.md b/README.md index 8219069..3eeda7e 100644 --- a/README.md +++ b/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. diff --git a/chatgpt_pyapi/openai.py b/chatgpt_pyapi/openai.py index 6bf999c..a1d80e9 100644 --- a/chatgpt_pyapi/openai.py +++ b/chatgpt_pyapi/openai.py @@ -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"