❄️ 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.4.tar.gz
.
File metadata
- Download URL: ProGPT-1.0.4.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 | 54be7cf59b3822a78dc181be165db77806d4306d195fa437ff6629366ba9f5a4 |
|
MD5 | df888ac821bd367c031480d02c69e053 |
|
BLAKE2b-256 | 334a795c3bdb11da5e55d002fe63d90659d4834d0dc18eae1bc3e0cec5cf84c2 |
File details
Details for the file ProGPT-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: ProGPT-1.0.4-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 | de169c39937528859531358a634fffa654c986b99fd068ac91b85216584801ea |
|
MD5 | 27103a73c04448ccb5107612c2fe99ad |
|
BLAKE2b-256 | 08147e0b3b4078eca7c9a049a453900dbaa1177f326b360f71e96c91c6725b5a |