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
Metadata
Release files for xRevChatGPT 0.0.49
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xRevChatGPT-0.0.49.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xRevChatGPT-0.0.49-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / xRevChatGPT-0.0.49.tar.gz
| Download URL | xRevChatGPT-0.0.49.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69bee85397815c035b421b6187cca22006c4cdc2814425c1f994a6d7be7c6422
|
|
BLAKE2b-256 checksum How to use checksums |
b5d998a8ca77c037791279bafa54af288f0472ce5c67f8bf2e4c2856de2a1643
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / xRevChatGPT-0.0.49-py3-none-any.whl
| Download URL | xRevChatGPT-0.0.49-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c135471136de23f595ec9ca8ff1e709b90ab2c4b105c4ce2d19a1739f61e55ea
|
|
BLAKE2b-256 checksum How to use checksums |
39f86cc08325bbaa9e0014028e0f5f43c6018ac11df24520472ec67ad26859ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|