聊天機器人框架 Bottender 與 Kamigo 的設計 - 郭佳甯

歡迎來到 MOPCON 2020 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

共筆入口:https://hackmd.io/@mopcon/2020
手機版請點選上方 按鈕展開議程列表。

投影片連結
Bottender網站

從這開始

聊天機器人就是個 App

聊天機器人的優勢

  • 聊天機器人比App容易獲取用戶
  • 由通訊軟體發送的訊息是比較有效的通知
  • 能在群組中使用

使用框架的好處

  • 省時間
  • 學觀念
  • 抄作業

Bottender

https://bottender.js.org/docs/zh-TW/getting-started

基礎

Action

https://bottender.js.org/docs/zh-TW/the-basics-actions

  • 在index.js指定整個Bot的進入點
  • 進入點事Action
  • Action 可以回傳 Action

routing

https://bottender.js.org/docs/zh-TW/the-basics-routing

責任鏈Chain

https://bottender.js.org/docs/zh-TW/the-basics-chainq
成本最低的方式
規則->機器學習->轉接真人

Line

主動推播給用戶一則 0.2元
若當用戶 reply 時會取得一組require token,1 個 require token 可以回 5 句 free,但須包在同一次request中。

Kamigo 框架

https://github.com/etrex/kamigo/blob/master/doc/01_intro.md

對話系統

參考陳縕儂教授簡報

Webhook API 轉換 MVC架構

tags: MOPCON 2020
Select a repo