❄️ 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
- Log in to chat.openai.com on desktop.
- Open DevTools by pressing F12 or Right Click > Inspect.
- Click on the Application tab.
- Under the Cookies section, tap
https://chat.openai.com
. - 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
Built Distribution
File details
Details for the file ProGPT-1.0.3.tar.gz
.
File metadata
- Download URL: ProGPT-1.0.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31692283fd462d4a930370504ee1d9256b0d8ba4369b01092e56e8bc970eab4a |
|
MD5 | 1022dc6df4148fa6b6709e7b955ba81e |
|
BLAKE2b-256 | 51b239b266979309db71ba16a2381ef0a1e7bcb92334272a6677997cb15a47cc |
File details
Details for the file ProGPT-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: ProGPT-1.0.3-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d1a9fe42213b082435734c63fa98e3b0ae71fdef1ad4ac84b224df4abdcb4fe |
|
MD5 | f8d799906a525ccfc383fd81e2b28ef4 |
|
BLAKE2b-256 | 5aada00bb42fc7b3174bd934dc2579489f499330af64ed504736672ec3cfc1a0 |