Skip to content

Commit

Permalink
More README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Mar 10, 2023
1 parent f6b784f commit 27488e7
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,19 @@ Support the project by buying and listening to my music 🎵
2. Download source code
3. Install requirements `pip install -r requirements.txt --upgrade`
4. For **API type 3** (recommended) (revChatGPT API V3, official chatGPT API):
1. Generate API Key https://platform.openai.com/account/api-keys and paste it into `api_key` in `chatgpt_auth` in `settings.json` file
2. Configure proxy if needed in `proxy` in `settings.json` file
1. Set `chatgpt_api_type` to `3` in `modules` in `settings.json` file
2. Generate API Key https://platform.openai.com/account/api-keys and paste it into `api_key` in `chatgpt_auth` in `settings.json` file
3. Configure proxy if needed in `proxy` in `settings.json` file
5. For **API type 0** (revChatGPT API V0, Official API, more "stupid" model, uses credits):
1. Generate API Key https://platform.openai.com/account/api-keys and paste it into `api_key` in `chatgpt_auth` in `settings.json` file
2. Configure proxy if needed in `proxy` in `settings.json` file
1. Set `chatgpt_api_type` to `0` in `modules` in `settings.json` file
2. Generate API Key https://platform.openai.com/account/api-keys and paste it into `api_key` in `chatgpt_auth` in `settings.json` file
3. Configure proxy if needed in `proxy` in `settings.json` file
6. For **API type 1** (revChatGPT API V1, free, uses same model as official website):
1. Create account at OpenAI. Make sure you have access to https://chat.openai.com/
2. Open https://chat.openai.com/api/auth/session
3. Copy value of `accessToken` into `access_token` in `chatgpt_auth` in `chatgpt_api_1` in `settings.json` file
4. Configure proxy if needed in `proxy` in `settings.json` file

1. Set `chatgpt_api_type` to `1` in `modules` in `settings.json` file
2. Make sure you have access to https://chat.openai.com/
3. Open https://chat.openai.com/api/auth/session
4. Copy value of `accessToken` into `access_token` in `chatgpt_auth` in `chatgpt_api_1` in `settings.json` file
5. Configure proxy if needed in `proxy` in `settings.json` file
7. For DALL-E, generate API Key https://platform.openai.com/account/api-keys
8. Type Generated OpenAI API Key into `open_ai_api_key` in `dalle` in `settings.json` file
9. Create bot at https://t.me/BotFather
Expand Down Expand Up @@ -229,6 +231,8 @@ Chat histories for each telegram chat (to prevent history collision) are stored
- For `"chatgpt_api_type": 3` conversation histories will be saved in `conversations` directory inside `chats` directory.
- For `"chatgpt_api_type": 0` conversation histories will be saved in `conversations.json` file inside `chats` directory.
To remove conversation use `/clear` command in telegram chat
*p.s. Might not work properly =)*
----------
Expand Down

0 comments on commit 27488e7

Please sign in to comment.