Improved README

This commit is contained in:
Julian Müller (ChaoticByte) 2023-03-14 21:53:56 +01:00
parent e35d9a3bed
commit 2129bb8a1e

View file

@ -1,28 +1,29 @@
# ChatGPT-PyAPI # ChatGPT-PyAPI
A minimalistic Python API for OpenAI's ChatGPT and Bing's Chatbot A minimalistic Python Library for OpenAI's ChatGPT and Bing's Chatbot
## Supported APIs ## Supported APIs
- Official ChatGPT API by OpenAI
- Unofficial API for Bing Chatbot (requires [EdgeGPT](https://github.com/acheong08/EdgeGPT) to be installed)
### Official ChatGPT API by OpenAI ### Official ChatGPT API by OpenAI
You need an API key for the official ChatGPT API. You need an API key for the official ChatGPT API.
The following models are supported: The following models are supported:
- 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-3.5-Turbo - GPT-3.5-Turbo
- GPT-3.5-Turbo-0301 - GPT-3.5-Turbo-0301
### Unofficial Bing Chatbot API ### 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. This requires the [EdgeGPT](https://github.com/acheong08/EdgeGPT) library to be installed, and your Cookies to be exported to a json file. See [EdgeGPT's README](https://github.com/acheong08/EdgeGPT#readme) for more infos.
## Examples
For examples, take a look at `examples.py`.
## CLI ## CLI