Description
This project is a ChatGPT chatbot for LINE, the messaging app, written in Python with Flask and deployed on Vercel. You fork the repository, add your OpenAI API key and LINE channel secret as settings, then point the LINE Messaging API webhook at your Vercel deployment. The bot answers messages in LINE using the OpenAI API. The guide is written in Chinese for people with no programming experience, and the author says the setup needs no code writing, only settings in web dashboards. Flask was chosen for its simplicity and Vercel for its free tier, which the author says covers normal use. The steps cover creating an OpenAI key, creating a LINE provider and Messaging API channel, copying the channel secret, and connecting the webhook. The author notes that the code was last updated on October 9, 2023, that the model is set to GPT-4, and that the requirements pin Werkzeug to avoid a conflict with Flask. Because the bot uses your own OpenAI account, you pay for API usage. It is a starting template for a personal or small-group bot rather than a finished product.…
Highlights
- Connects a LINE chat to the OpenAI ChatGPT API
- Runs as a serverless Flask app on Vercel
- Setup guide in Chinese for beginners
- Configured through environment settings, no coding
- Defaults to GPT-4 according to the repository
Ratings & Reviews
No ratings yet
Be the first to rate ChatGPT-Linebot-using-python-flask-on-vercel.
People also visit
ChatGPT-on-WeChat
Deploy GPT-4o ChatGPT on your WeChat within 2 steps! 两步在云端部署你的微信ChatGPT聊天机器人!
ChatGPT-Linebot-using-python-flask-on-vercel FAQ
What does this bot do?
It connects a LINE chat account to the OpenAI ChatGPT API, so the bot replies to messages with a GPT model.
Do I need to write code?
The author says no. You fork the project and set the keys and channel options in the web dashboards.
Where does it run?
On Vercel, as a Python Flask app. The README calls it serverless and says Vercel's free tier covers normal use.
Is it free?
The code is free to use, but you need your own OpenAI API key and pay OpenAI for API usage.
Is it still maintained?
The author last updated the guide on October 9, 2023, and says they cannot test newer API changes without credits.
What are the best ChatGPT-Linebot-using-python-flask-on-vercel alternatives?
Popular alternatives to ChatGPT-Linebot-using-python-flask-on-vercel include ChatGPT-on-WeChat, ChatGPT-Telegram-Workers and Bot On Anything. See all ChatGPT-Linebot-using-python-flask-on-vercel alternatives
