Comments (5)
剛剛有推了一個新版,可以在 main 中加入
@app.route("/", methods=['GET'])
def home():
return 'Hello World'
即可
from chatgpt-line-bot.
成功了,可能編寫有問題,機器人只有已讀,無法回應
from chatgpt-line-bot.
是否有任何錯誤訊息呢?
from chatgpt-line-bot.
沒有! 只是已讀沒回,我另外測試其他人的教學,使用VERCEL平台,機器人回覆
08:54 Chat GPT Request failed with status code 429
08:54 Chat GPT POST https://api.openai.com/v1/completions
08:54 Chat GPT You exceeded your current quota, please check your plan and billing details.
懷疑免費額度沒了,改創新帳號使用新的API KEY後,一樣出現上面的錯誤訊息
from chatgpt-line-bot.
可以先辨識是 Line 的問題 還是 ChatGPT 的問題
下面這一行程式碼
response = chatgpt.get_response(user_id, text)
msg = TextSendMessage(text=response)
改成
# response = chatgpt.get_response(user_id, text) 註解掉
msg = TextSendMessage(text="Hello World")
看看是否 Line 會回傳 Hello World,會的話代表 Line 端沒問題
如果是 OpenAI 他說的額度用完,建議可以去 openai 的開發者後台,看看他使用量如何!
from chatgpt-line-bot.
Related Issues (20)
- Invalid decimal litteral HOT 1
- 文字輸入無法使用
- run之後顯示錯誤訊息 HOT 3
- replit 這個網站無法提供安全連線
- 串接過程中遇到問題 HOT 2
- 讀取TVBS Youtube等其餘網站連結的問題
- 請移除db.json的設計,openai key會有外洩可能
- help, how i fix this ?
- 網址問題
- 無法順利獲得網址
- /imagine 這指令是不是不能用了 HOT 1
- CronJob 定時發送請求,無法執行
- 更換模型失敗
- You exceeded your current quota, please check your plan and billing details. HOT 2
- Repl stuck on import
- 跑完程式碼,出現hello world後,都沒有出現網址 HOT 4
- 請先註冊 Token,格式為 /註冊 sk-xxxxx HOT 1
- 專案執行問題 HOT 2
- 幾個問題請教
- 跑完程式碼,出現Configure me!! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-line-bot.