kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/364/head
rodzic
e1ad9eaaea
commit
6110f232ea
11
readme.md
11
readme.md
|
@ -77,7 +77,8 @@ Thanks && cheers,
|
||||||
- [Install](#install)
|
- [Install](#install)
|
||||||
- [Usage (ChatGPTAPI)](#usage-chatgptapi)
|
- [Usage (ChatGPTAPI)](#usage-chatgptapi)
|
||||||
- [Usage (ChatGPTUnofficialProxyAPI)](#usage-chatgptunofficialproxyapi)
|
- [Usage (ChatGPTUnofficialProxyAPI)](#usage-chatgptunofficialproxyapi)
|
||||||
- [Access Token](#access-token)
|
- [Reverse Proxies](#reverse-proxies)
|
||||||
|
- [Access Tokens](#access-tokens)
|
||||||
- [Docs](#docs)
|
- [Docs](#docs)
|
||||||
- [Demos](#demos)
|
- [Demos](#demos)
|
||||||
- [Projects](#projects)
|
- [Projects](#projects)
|
||||||
|
@ -224,6 +225,8 @@ See [demos/demo-reverse-proxy](./demos/demo-reverse-proxy.ts) for a full example
|
||||||
npx tsx demos/demo-reverse-proxy.ts
|
npx tsx demos/demo-reverse-proxy.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Reverse Proxies
|
||||||
|
|
||||||
Known reverse proxies include:
|
Known reverse proxies include:
|
||||||
|
|
||||||
| Reverse Proxy URL | Author | Rate Limits | Last Checked |
|
| Reverse Proxy URL | Author | Rate Limits | Last Checked |
|
||||||
|
@ -231,9 +234,7 @@ Known reverse proxies include:
|
||||||
| `https://chat.duti.tech/api/conversation` | [@acheong08](https://github.com/acheong08) | 50 req/min | 2/19/2023 |
|
| `https://chat.duti.tech/api/conversation` | [@acheong08](https://github.com/acheong08) | 50 req/min | 2/19/2023 |
|
||||||
| `https://gpt.pawan.krd/backend-api/conversation` | [@PawanOsman](https://github.com/PawanOsman) | ? | 2/19/2023 |
|
| `https://gpt.pawan.krd/backend-api/conversation` | [@PawanOsman](https://github.com/PawanOsman) | ? | 2/19/2023 |
|
||||||
|
|
||||||
**Note**: using a reverse proxy will expose your access token to a third-party. There shouldn't be any adverse effects possible from this, but please be aware of the risks before using this method.
|
### Access Tokens
|
||||||
|
|
||||||
### Access Token
|
|
||||||
|
|
||||||
To use `ChatGPTUnofficialProxyAPI`, you'll need a ChatGPT access token. You can either:
|
To use `ChatGPTUnofficialProxyAPI`, you'll need a ChatGPT access token. You can either:
|
||||||
|
|
||||||
|
@ -241,6 +242,8 @@ To use `ChatGPTUnofficialProxyAPI`, you'll need a ChatGPT access token. You can
|
||||||
|
|
||||||
2. You can manually get an `accessToken` by logging in to the ChatGPT webapp, opening up the Network tab of devtools, refreshing the page, and then looking at the JSON response to `https://chat.openai.com/api/auth/session`, which will have your `accessToken` string.
|
2. You can manually get an `accessToken` by logging in to the ChatGPT webapp, opening up the Network tab of devtools, refreshing the page, and then looking at the JSON response to `https://chat.openai.com/api/auth/session`, which will have your `accessToken` string.
|
||||||
|
|
||||||
|
**Note**: using a reverse proxy will expose your access token to a third-party. There shouldn't be any adverse effects possible from this, but please consider the risks before using this method.
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
See the [auto-generated docs](./docs/classes/ChatGPTAPI.md) for more info on methods and parameters.
|
See the [auto-generated docs](./docs/classes/ChatGPTAPI.md) for more info on methods and parameters.
|
||||||
|
|
Ładowanie…
Reference in New Issue