Skip to main content

ChatGPT is a reverse engineering of OpenAI's ChatGPT API

Project description

ChatGPT

PyPi PyPi

Reverse Engineered ChatGPT API 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 revChatGPT

Configuration

Refer to the setup guide for more information.

Usage

python3 -m revChatGPT

from revChatGPT.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


Release history Release notifications | RSS feed

This version

0.1.1

Download files

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

Source Distribution

revChatGPT-0.1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

revChatGPT-0.1.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file revChatGPT-0.1.1.tar.gz.

File metadata

  • Download URL: revChatGPT-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for revChatGPT-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0a1276290c2bc95749a8bcdf4944bce2ee416cb8c47cfc086a9e86f8c16e1c95
MD5 ef99392a52c078a931d3379f07e52436
BLAKE2b-256 f82ed1bac9d8f057d883698a3da64b27873a16df0deef41e6878b71acd9f27d0

See more details on using hashes here.

File details

Details for the file revChatGPT-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: revChatGPT-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for revChatGPT-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 edc9f1227960d1c2ad5676cb07d7bb018af4d18c5ff20ff6fa76a86a3657826c
MD5 309c099beb1979db656d2bc073a34f0f
BLAKE2b-256 dfbc0213d7b3cdba9fb5923633636be2b774f61f988851f265bf333247e34352

See more details on using hashes here.

Supported by

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