ChatGPT is a reverse engineering of OpenAI's ChatGPT API
Project description
ChatGPT
Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc.
Connect with me on Linkedin to support this project. I'm graduating high school soon and knowing some people might help my chances at finding employment (in the far future).
You can also follow me on Twitter to stay up to date.
Related works
- API that scales: https://github.com/ChatGPT-Hackers/ChatGPT-API-server (By me as well)
- Lightweight version: https://github.com/acheong08/ChatGPT-lite (In collaboration with Pawan)
These are separate works and not part of this library
Usage
Installation
pip3 install --upgrade xRevChatGPT
Configuration
Refer to the setup guide for more information.
Usage
python3 -m xRevChatGPT
from xRevChatGPT.ChatGPT import Chatbot
chatbot = Chatbot({
"session_token": "<YOUR_TOKEN>"
}, conversation_id=None, parent_id=None) # You can start a custom conversation
response = chatbot.ask("Prompt", conversation_id=None, parent_id=None) # You can specify custom conversation and parent ids. Otherwise it uses the saved conversation (yes. conversations are automatically saved)
print(response)
# {
# "message": message,
# "conversation_id": self.conversation_id,
# "parent_id": self.parent_id,
# }
Awesome ChatGPT
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
Credits
- rawandahmad698 - Reverse engineering Auth0
- FlorianREGAZ - TLS client
- PyRo1121 - Linting
- Harry-Jing - Async support
- Ukenn2112 - Documentation
- aliferouss19 - Logo
- All other contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xRevChatGPT-0.0.49.tar.gz
.
File metadata
- Download URL: xRevChatGPT-0.0.49.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69bee85397815c035b421b6187cca22006c4cdc2814425c1f994a6d7be7c6422 |
|
MD5 | 93dd65fcb0c9b438e387bd68610b0161 |
|
BLAKE2b-256 | b5d998a8ca77c037791279bafa54af288f0472ce5c67f8bf2e4c2856de2a1643 |
File details
Details for the file xRevChatGPT-0.0.49-py3-none-any.whl
.
File metadata
- Download URL: xRevChatGPT-0.0.49-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c135471136de23f595ec9ca8ff1e709b90ab2c4b105c4ce2d19a1739f61e55ea |
|
MD5 | a2cd876e4a813fe86574eb6a0ac31619 |
|
BLAKE2b-256 | 39f86cc08325bbaa9e0014028e0f5f43c6018ac11df24520472ec67ad26859ed |