ProGPT
🔥 Free GPT-3.5 Python API
I reverse engineered **ChatGPT's Free Web API** and made this simple python package. The project is written primarily in Python, distributed under the MIT License license, first published in 2023. Key topics include: ai-chat, chatbot, chatgpt, chatgpt-4, chatgpt-api.
ProGPT - Free ChatGPT API
I reverse engineered ChatGPT's Free Web API and made this simple python package.
Both Generative & Conversation modes are supported.
📦 Installation
python$ pip install progpt
🔑 How to get access_token?
In your browser:
- Login to chat.openai.com
- Open this page, and you'll see JSON data
- Copy value of accessToken
🚀 Generative Mode
Answers individual prompts, doesn't remember past messages.
pythonfrom ProGPT import Generative bot = Generative(access_token) print(bot.prompt("who invented electricity?"))
🍿 Conversation Mode
Creates a conversation thread and remembers your chat history.
pythonfrom ProGPT import Conversation bot = Conversation(access_token) print(bot.prompt("hello")) print(bot.prompt("how are you?"))
⚡ Rate Limits
To overcome the free tier's rate limits:
- Add time gap between prompts
- Use multiple accounts
❤️ Support Me
If you're benefitting from my work and wish to support me, please consider visiting this link:
<img src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg" width="150"/>
👮 Legal
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.
Contributors
Showing top 1 contributor by commit count.