ProGPT
v1.0.6
I reverse engineered ChatGPT's Free Web API and made this simple python package.
Both Generative & Conversation modes are supported.
$ pip install progpt
In your browser:
Login to chat.openai.com
Open this page, and you'll see JSON data
Copy value of accessToken
Answers individual prompts, doesn't remember past messages.
from ProGPT import Generativebot = Generative(access_token)print(bot.prompt("who invented electricity?"))
Creates a conversation thread and remembers your chat history.
from ProGPT import Conversationbot = Conversation(access_token)print(bot.prompt("hello"))print(bot.prompt("how are you?"))
To overcome the free tier's rate limits:
Add time gap between prompts
Use multiple accounts
If you're benefitting from my work and wish to support me, please consider visiting this link:
This is a third party library and not associated with OpenAI or ChatGPT. It's strictly for educational purposes. You are liable for all the actions you take.