# ChatGPT <img src="https://github.com/acheong08/ChatGPT/blob/main/logo.png?raw=true" width="7%"></img>
[![PyPi](https://img.shields.io/pypi/v/xRevChatGPT.svg)](https://pypi.python.org/pypi/xRevChatGPT)
[![PyPi](https://img.shields.io/pypi/dm/xRevChatGPT.svg)](https://pypi.python.org/pypi/xRevChatGPT)
Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc.
Connect with me on [Linkedin](https://www.linkedin.com/in/acheong08/) 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).
<br><br>
You can also follow me on [Twitter](https://twitter.com/GodlyIgnorance) 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](https://github.com/PawanOsman/))
_These are separate works and not part of this library_
# Usage
## Installation
`pip3 install --upgrade xRevChatGPT`
## Configuration
Refer to the setup [guide](https://github.com/acheong08/ChatGPT/wiki/Setup) for more information.
## Usage
`python3 -m xRevChatGPT`
```python
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
[My list](https://github.com/stars/acheong08/lists/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](https://github.com/rawandahmad698) - Reverse engineering Auth0
- [FlorianREGAZ](https://github.com/FlorianREGAZ) - TLS client
- [PyRo1121](https://github.com/PyRo1121) - Linting
- [Harry-Jing](https://github.com/Harry-Jing) - Async support
- [Ukenn2112](https://github.com/Ukenn2112) - Documentation
- [aliferouss19](https://github.com/aliferouss19) - Logo
- [All other contributors](https://github.com/acheong08/ChatGPT/graphs/contributors)
Raw data
{
"_id": null,
"home_page": "",
"name": "xRevChatGPT",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Antonio Cheong",
"author_email": "acheong@student.dalat.org",
"download_url": "https://files.pythonhosted.org/packages/b5/d9/98a8ca77c037791279bafa54af288f0472ce5c67f8bf2e4c2856de2a1643/xRevChatGPT-0.0.49.tar.gz",
"platform": null,
"description": "# ChatGPT <img src=\"https://github.com/acheong08/ChatGPT/blob/main/logo.png?raw=true\" width=\"7%\"></img>\n\n[![PyPi](https://img.shields.io/pypi/v/xRevChatGPT.svg)](https://pypi.python.org/pypi/xRevChatGPT)\n[![PyPi](https://img.shields.io/pypi/dm/xRevChatGPT.svg)](https://pypi.python.org/pypi/xRevChatGPT)\n\nReverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc.\n\nConnect with me on [Linkedin](https://www.linkedin.com/in/acheong08/) 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).\n<br><br>\nYou can also follow me on [Twitter](https://twitter.com/GodlyIgnorance) to stay up to date.\n\n### Related works\n\n- API that scales: https://github.com/ChatGPT-Hackers/ChatGPT-API-server (By me as well)\n- Lightweight version: https://github.com/acheong08/ChatGPT-lite (In collaboration with [Pawan](https://github.com/PawanOsman/))\n\n_These are separate works and not part of this library_\n\n# Usage\n\n## Installation\n\n`pip3 install --upgrade xRevChatGPT`\n\n## Configuration\n\nRefer to the setup [guide](https://github.com/acheong08/ChatGPT/wiki/Setup) for more information.\n\n## Usage\n\n`python3 -m xRevChatGPT`\n\n```python\nfrom xRevChatGPT.ChatGPT import Chatbot\n\nchatbot = Chatbot({\n \"session_token\": \"<YOUR_TOKEN>\"\n}, conversation_id=None, parent_id=None) # You can start a custom conversation\n\nresponse = 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)\n\nprint(response)\n# {\n# \"message\": message,\n# \"conversation_id\": self.conversation_id,\n# \"parent_id\": self.parent_id,\n# }\n```\n\n# Awesome ChatGPT\n\n[My list](https://github.com/stars/acheong08/lists/awesome-chatgpt)\n\nIf you have a cool project you want added to the list, open an issue.\n\n# Disclaimers\n\nThis is not an official OpenAI product. This is a personal project and is not affiliated with OpenAI in any way. Don't sue me\n\n# Credits\n\n- [rawandahmad698](https://github.com/rawandahmad698) - Reverse engineering Auth0\n- [FlorianREGAZ](https://github.com/FlorianREGAZ) - TLS client\n- [PyRo1121](https://github.com/PyRo1121) - Linting\n- [Harry-Jing](https://github.com/Harry-Jing) - Async support\n- [Ukenn2112](https://github.com/Ukenn2112) - Documentation\n- [aliferouss19](https://github.com/aliferouss19) - Logo\n- [All other contributors](https://github.com/acheong08/ChatGPT/graphs/contributors)\n",
"bugtrack_url": null,
"license": "GNU General Public License v2.0",
"summary": "ChatGPT is a reverse engineering of OpenAI's ChatGPT API",
"version": "0.0.49",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "39f86cc08325bbaa9e0014028e0f5f43c6018ac11df24520472ec67ad26859ed",
"md5": "a2cd876e4a813fe86574eb6a0ac31619",
"sha256": "c135471136de23f595ec9ca8ff1e709b90ab2c4b105c4ce2d19a1739f61e55ea"
},
"downloads": -1,
"filename": "xRevChatGPT-0.0.49-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a2cd876e4a813fe86574eb6a0ac31619",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15512,
"upload_time": "2023-01-06T21:57:56",
"upload_time_iso_8601": "2023-01-06T21:57:56.723639Z",
"url": "https://files.pythonhosted.org/packages/39/f8/6cc08325bbaa9e0014028e0f5f43c6018ac11df24520472ec67ad26859ed/xRevChatGPT-0.0.49-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b5d998a8ca77c037791279bafa54af288f0472ce5c67f8bf2e4c2856de2a1643",
"md5": "93dd65fcb0c9b438e387bd68610b0161",
"sha256": "69bee85397815c035b421b6187cca22006c4cdc2814425c1f994a6d7be7c6422"
},
"downloads": -1,
"filename": "xRevChatGPT-0.0.49.tar.gz",
"has_sig": false,
"md5_digest": "93dd65fcb0c9b438e387bd68610b0161",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15830,
"upload_time": "2023-01-06T21:58:00",
"upload_time_iso_8601": "2023-01-06T21:58:00.115303Z",
"url": "https://files.pythonhosted.org/packages/b5/d9/98a8ca77c037791279bafa54af288f0472ce5c67f8bf2e4c2856de2a1643/xRevChatGPT-0.0.49.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-06 21:58:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "xrevchatgpt"
}