<aside> ❗ Copyright and Ownership Notice
關於這個 notion page 以及其包含的所有 pages (以下統稱「本 page」),其著作權與所有權是屬於台大電機系黃鐘揚教授以及其所開設的網路服務程式設計課程之所有助教 (以下統稱「作者們」) 所擁有。
基於推廣技術與服務大眾之精神,本 page 採取 MIT 授權,即任何人皆可因任何目的使用、複製、修改、發布、與再散佈本 page,包括商業用途。不需簽署協議,也不需支付授權費,惟任何的使用與散佈必須包含本著作權與所有權聲明。如有違反本著作權與所有權聲明,本 page 之作者們仍保有相關的法律追朔權利。詳細關於 MIT 授權的規範請見 OSI 官網。
本 page 之內容以「現狀」提供 (provided "as-is"),不附帶任何保證。對於本 page 之內容如有任何疑問或是建議,請來信 [email protected].
The copyright and ownership of this Notion page and all pages it contains (hereinafter referred to as "this page") belongs to Professor Chung-Yang Huang of Department of Electrical Engineering, National Taiwan University, and all teaching assistants of this Web Programming course that he teaches.
In the spirit of promoting technology and serving the public, this page adopts the MIT License, meaning anyone can use, copy, modify, publish, and redistribute this page for any purpose, including commercial use. No agreement needs to be signed, and no licensing fee needs to be paid, provided that any distribution must include this copyright and ownership notice. In case of violation of this copyright and ownership notice, the authors of this page still retain the relevant legal right to take retroactive action. For detailed regulations regarding the MIT License, please see the OSI official website.
The content of this page is provided "as-is", without any warranty. If you have any questions or suggestions regarding the content of this page, please email [email protected].
</aside>
<aside> 🌐 Web Programming Home
</aside>
本作業需實作一個整合 Line Messaging API 的智慧聊天機器人系統,包含兩大組件:
至少串接一個 LLM 供應商(可任一vendor)。若配額/流量被限或服務不可用,系統須能優雅降級並回覆合適訊息。
主題不限,但需要能夠讓使用者跟你的 AI chatbot 互動 — either 將使用者的對話轉換成適當的 prompt 去傳給 LLM,或者是結合事先設計好的腳本,向使用者提供合理的回應。 一些建議的題目方向 (當然,不以此為限):
<aside> ⚠️
建議不要一次把 chatbot 的對話流程弄得太複雜,除了會讓功能的正確性可能較難收斂之外,也可能反而讓 UI/UX 變爛。
應該先實現一個有基礎功能版本的機器人,再來慢慢加上去,確保整個 chatbot 的體驗可以維持在良好的水準。
</aside>
請以 Next.js(with TypeScript)開發並部署至 Vercel,確保可直接透過 Line app 來評測。