Skip to main content

ChatGPT is a reverse engineering of OpenAI's ChatGPT API

Project description

ChatGPT

PyPi PyPi

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

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

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

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xRevChatGPT-0.0.49.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

xRevChatGPT-0.0.49-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

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

Hashes for xRevChatGPT-0.0.49.tar.gz
Algorithm Hash digest
SHA256 69bee85397815c035b421b6187cca22006c4cdc2814425c1f994a6d7be7c6422
MD5 93dd65fcb0c9b438e387bd68610b0161
BLAKE2b-256 b5d998a8ca77c037791279bafa54af288f0472ce5c67f8bf2e4c2856de2a1643

See more details on using hashes here.

File details

Details for the file xRevChatGPT-0.0.49-py3-none-any.whl.

File metadata

File hashes

Hashes for xRevChatGPT-0.0.49-py3-none-any.whl
Algorithm Hash digest
SHA256 c135471136de23f595ec9ca8ff1e709b90ab2c4b105c4ce2d19a1739f61e55ea
MD5 a2cd876e4a813fe86574eb6a0ac31619
BLAKE2b-256 39f86cc08325bbaa9e0014028e0f5f43c6018ac11df24520472ec67ad26859ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page