docs: tweak wording

pull/385/head
Travis Fischer 2023-02-22 17:07:52 -06:00
rodzic 6abb4319a9
commit 1fdf218b37
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -314,13 +314,13 @@ Note: info on how the reverse proxies work is not being published at this time i
#### Access Token
To use `ChatGPTUnofficialProxyAPI`, you'll need a ChatGPT access token. You can either:
To use `ChatGPTUnofficialProxyAPI`, you'll need an OpenAI access token from the ChatGPT webapp. You can either:
1. Use [acheong08/OpenAIAuth](https://github.com/acheong08/OpenAIAuth), which is a python script to login and get an access token automatically. This works with email + password accounts (e.g., it does not support accounts where you auth via Microsoft / Google).
2. You can manually get an `accessToken` by logging in to the ChatGPT webapp and then opening `https://chat.openai.com/api/auth/session`, which will return a JSON object containing your `accessToken` string.
Access tokens last for ~8 hours (TODO: need to verify the exact TTL).
Access tokens last for ~8 hours.
**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.