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:
Answers individual prompts, doesn't remember past messages.
from ProGPT import Generative
bot = Generative(access_token)
print(bot.prompt("who invented electricity?"))
Creates a conversation thread and remembers your chat history.
from ProGPT import Conversation
bot = Conversation(access_token)
print(bot.prompt("hello"))
print(bot.prompt("how are you?"))
To overcome the free tier's rate limits:
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.