Github - Acheong08 - Chatgpt - Reverse Engineered Chatgpt API
Github - Acheong08 - Chatgpt - Reverse Engineered Chatgpt API
Code Issues 8 Pull requests 1 Discussions Actions Projects 1 Wiki Security Insights
main Go to file Code
2 branches 223 tags
README.md
ChatGPT
English ‐ 中文
Support my work
Make a pull request and fix my bad code.
Installation
python ‐m pip install ‐‐upgrade revChatGPT
V1 Standard ChatGPT
Due to recent tightening of OpenAI's security, the default endpoint has been swapped over to one provided by @pengzhile. It is not open source
and privacy is not guarenteed. Use it at your own risk. I am working on an open source implementation with the latest changes but that could take
a while.
Paid
Command line
python3 ‐m revChatGPT.V3 ‐‐api_key <api_key>
usage: V3.py [‐h] ‐‐api_key API_KEY [‐‐temperature TEMPERATURE] [‐‐no_stream] [‐‐base_prompt BASE_PROMPT]
[‐‐proxy PROXY] [‐‐top_p TOP_P] [‐‐reply_count REPLY_COUNT] [‐‐enable_internet]
[‐‐config CONFIG] [‐‐submit_key SUBMIT_KEY] [‐‐model {gpt‐3.5‐turbo,gpt‐4,gpt‐4‐32k}]
[‐‐truncate_limit TRUNCATE_LIMIT]
options:
‐h, ‐‐help show this help message and exit
‐‐api_key API_KEY OpenAI API key
‐‐temperature TEMPERATURE
Temperature for response
‐‐no_stream Disable streaming
‐‐base_prompt BASE_PROMPT
Base prompt for chatbot
‐‐proxy PROXY Proxy address
‐‐top_p TOP_P Top p for response
‐‐reply_count REPLY_COUNT
Number of replies for each prompt
‐‐enable_internet Allow ChatGPT to search the internet
‐‐config CONFIG Path to V3 config json file
‐‐submit_key SUBMIT_KEY
Custom submit key for chatbot. For more information on keys, see README
‐‐model {gpt‐3.5‐turbo,gpt‐4,gpt‐4‐32k}
‐‐truncate_limit TRUNCATE_LIMIT
Developer API
Basic example
Streaming example
Awesome ChatGPT
My list
If you have a cool project you want added to the list, open an issue.
Disclaimers
This is not an official OpenAI product. This is a personal project and is not affiliated with OpenAI in any way. Don't sue me.
Contributors
This project exists thanks to all the people who contribute.
Additional credits
Coding while listening to this amazing song by virtualharby
About
Reverse engineered ChatGPT API
Readme
GPL‐2.0 license
Code of conduct
Security policy
24.4k stars
256 watching
3.9k forks
Report repository
Releases 216
4.2.4 Endpoint swap Latest
Apr 18, 2023
+ 215 releases
Packages
No packages published
Used by
@akirataguchi115/ akirataguchi115
Contributors 118
+ 107 contributors
Languages
Python99.4% Other0.6%
© 2023 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About