wang-hanwen/gpt-api-demo
A really easy demo for how to call gpt api. Wish it is helpful!
If you're in China and struggling with unstable or blocked access to ChatGPT through the web interface, this project provides a straightforward guide to calling the OpenAI GPT API. You'll use Python code to send your text prompts to the API and receive responses directly, bypassing common web access issues and enabling stable, continuous conversations. This is for individuals who want more reliable access to AI conversational tools.
No commits in the last 6 months.
Use this if you are a professional or student in China who frequently uses ChatGPT but faces constant interruptions, refreshes, or 'Access Denied' errors due to internet restrictions.
Not ideal if you have stable, reliable access to the ChatGPT web interface in your region and are not comfortable with basic Python scripting.
Stars
37
Forks
1
Language
—
License
—
Category
Last pushed
Jul 07, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/wang-hanwen/gpt-api-demo"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
KudoAI/chatgpt.js
🤖 A powerful, open source client-side JavaScript library for ChatGPT
janhq/jan
Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
FrancescoCoding/easyGPT
🤖 Template for a Node.js server (complete of npm module!) that sends requests to the ChatGPT API...
WongSaang/chatgpt-ui
A ChatGPT web client that supports multiple users, multiple languages, and multiple database...
all-in-aigc/gpts-works
A Third-party GPTs store