pull/364/head
Travis Fischer 2023-02-19 02:06:33 -06:00
rodzic b9255873f2
commit a5272b721f
1 zmienionych plików z 3 dodań i 7 usunięć

Wyświetl plik

@ -9,10 +9,6 @@
We now provide three ways of accessing the unofficial ChatGPT API, all of which have tradeoffs:
1. `ChatGPTAPI` - Uses `text-davinci-003` to mimic ChatGPT via the official OpenAI completions API (most robust approach, but it's not free and doesn't use a model fine-tuned for chat)
2. `ChatGPTUnofficialProxyAPI` - Uses an unofficial proxy server to access ChatGPT's backend API in a way that circumvents Cloudflare (uses the real ChatGPT and is pretty lightweight, but can be less robust and is pretty rate-limited)
3. `ChatGPTAPIBrowser` - (v3.5.1 of this package) Uses Puppeteer to access the official ChatGPT webapp (uses the real ChatGPT, but very flaky, heavyweight, and error prone)
| Method | Free? | Robust? | Quality? |
| --------------------------- | ------ | -------- | ----------------- |
| `ChatGPTAPI` | ❌ No | ✅ Yes | ☑️ Mimics ChatGPT |
@ -21,9 +17,9 @@ We now provide three ways of accessing the unofficial ChatGPT API, all of which
**Note**: I recommend that you use either `ChatGPTAPI` or `ChatGPTUnofficialProxyAPI`.
_Note_: all three methods share a very similar API that is designed to mimic the upcoming official ChatGPT API once it's released.
_Note_: I do not plan on continuing support for the browser-based version, because it is flaky, a pain to maintain, and because I want to focus on APIs which are closer to the upcoming official API.
1. `ChatGPTAPI` - Uses `text-davinci-003` to mimic ChatGPT via the official OpenAI completions API (most robust approach, but it's not free and doesn't use a model fine-tuned for chat)
2. `ChatGPTUnofficialProxyAPI` - Uses an unofficial proxy server to access ChatGPT's backend API in a way that circumvents Cloudflare (uses the real ChatGPT and is pretty lightweight, but can be less robust and is pretty rate-limited)
3. `ChatGPTAPIBrowser` - (v3.5.1 of this package) Uses Puppeteer to access the official ChatGPT webapp (uses the real ChatGPT, but very flaky, heavyweight, and error prone)
</details>