Skip to main content

❄️ Python Package To Access GPT-3.5 Free Model

Project description

ProGPT - Free GPT-3.5 API

I reverse engineered ChatGPT 3.5's Free Web API and put it all together into this simple python package.

It supports both Generative & Conversation mode.

🌟 Just a minute!

ProGPT is still in it's early stages and requires your support. Don't forget to give a star. Thank you!

Installation

$ pip install progpt

Get your session_token

  1. Log in to chat.openai.com on desktop.
  2. Open DevTools by pressing F12 or Right Click > Inspect.
  3. Click on the Application tab.
  4. Under the Cookies section, tap https://chat.openai.com.
  5. Copy the value of __Secure-next-auth.session-token from the list. This is your session_token.

🤖 Generative

Used for independent prompts.

from ProGPT import Generative

generative = Generative(session_token)  # See above on how to get session_token

print(generative.prompt("hello"))

💬 Conversation

Just like chat. AI will remember your past messages as well in the conversation.

from ProGPT import Conversation

conversation = Conversation(session_token)  # See above on how to get session_token

print(conversation.send("hello"))
print(conversation.send("how's your day going?"))
print(conversation.send("i want to ask something..."))

⚡ Rate Limit

Nothing comes free of charge. While using this library is free, OpenAI does put some rate limits per hour when you ask questions too fast. You can use multiple accounts if that's a problem.

Support

Want to support this project?

Legal

This is a third party library and not associated with OpenAI or ChatGPT. It is strictly for educational purposes only. You are liable for all the actions you take.

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

ProGPT-1.0.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

ProGPT-1.0.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ProGPT-1.0.2.tar.gz.

File metadata

  • Download URL: ProGPT-1.0.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ProGPT-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7e49eaec1669ca820ad1e948aef31a75ce68188100e811722869d82f81d81051
MD5 a7498f5a71383a759f1e6e3121b02327
BLAKE2b-256 aa8c00a089b16134fa259d06b7d18a94c1cc6450a72ccaebffdfe601eda2a14f

See more details on using hashes here.

File details

Details for the file ProGPT-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: ProGPT-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ProGPT-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcf4c5e196f0ebe7907bcc5a63b6fd1ab448ebd225632a09bd2d2bee6b03989d
MD5 085863bd1309979e63ac2bfa55b3a813
BLAKE2b-256 da681ebd72d579baee0a536ccf10008f1784b7eb0c3396d8f3f123565a3f4103

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