or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
title: COSCUP 2020 共筆
tags: COSCUP2020
8/2 10:00-16:00 @ Room TR212
Chatbot Taiwan
我們每個月在台北以及台中會舉辦小聚,歡迎各位報名、推薦講者以及閃電秀,介紹自己開發的 chatbot、 分享 chatbot 相關的議題。
10:00 ~ 10:40 聊天機器人 Session 管理與多輪對話 - C. T. Lin
Speaker
open source -> 對品質的要求
註解文件 test case
Bottender
bot = stateless
必須知道整個對話的狀態
把無狀態轉成有狀態
HTTP 的 Session 機制:
psid
- fb 的特殊IDuserId
為 unique idevents
也一樣可能有針對不同 session 的事件groupId
是更好的 unique key;用userId
則無法知道整個頻道的脈絡機器人的 Session 機制:利用 Signature Verification 來避免偽造
從 Request 抓出可靠的 Session ID
發出的Request, 包含PSID,就是很好的 Unique Key
有的聊天軟體會在一個 Http request 塞兩個以上的User message
要特別小心。
Session 儲存方式
使用標準做法不會害到你XD
SessionHandlerInterface
要實作read($sessionId)
、write($sessionId, data)
儲存方式:
file: 可以,但無法多主機
cookie: 聊天機器人不能用
database:
Dict
Bottender 也是使用相關機制
多輪對話的技術原理
主要應用情境:抓參數的多輪對話
Slot filling
對話分支
使用者的選擇會觸發特定的問題
點雞塊->雞塊需要糖醋醬嗎?
條件式作答在 chatbot 中也是很常見的問題
跳多進行中對話
因故無法進行下去,要退出對話狀態?
變成是其他的對話處理
ex: 講到一半不買了、或問廁所在哪
–> 中間產物:intent
Action: 可能需要跳出
各平台應用上的差異
Quick Reply
提示使用者接下來要回什麼
更有機會暗示使用者達到我們想做的事情
Messenger Webview / LINE LIFF
資料不夠只用聊天,
開一個網站來收集需要的資訊
Slack Modal: 跳出一個表單出來要使用者填寫
模組化的兩難
要表現的聰明自然的多輪對話,要綜觀全局,與模組化背道而馳
無論用 Regex 或 ML,都會有誤判
只服務大多數使用者
升級版本時,也必須考慮對對話中使用者造成的影響
結論
QA
Q: 如果一句話有多個訊息,推薦如何擷取裡面的資訊?
A: 都不太準 XD 有些人只會處理產品要的 case,與業務目標無關的就不處理(如閒聊),少數的 User 會觸發大量的 Case,可以專注在大量主要問題。
Q: 分支的部分,實際上會使用什麼 design pattern?應該不會一直用 if/else
A:
10:50 ~ 11:10 CBFHSS 專為高中生設計的管家型聊天機器人 - 廖煥杰
學生端功能
教師處室端功能
Other
11:20 ~ 12:00 Loki: 專為中文開發一個 NLU 意圖分類引擎 - PeterWolf
Speaker
卓騰語言科技
NLU 引擎
功能
bot type
Loki 有何不同?
12:10 ~ 12:30 Dialogflow with LINE bot 應用語意分析於 LINE Bot 開發的小技巧 - Wolke Lin , 林建宏
Speaker
為什麼要放棄 App 改做聊天機器人?
有 LINE bot 就好了嗎?
App 與 bot 的 Funnel 差異
App: 看到 –> app store -> download -> install -> open -> register -> member
Bot: 看到 –> install (add contact) –> member
推撥開信率
Dialogflow 解決問題
12:40 ~ 13:00 一份試算表、一台主機、一支機器人 - 奇步老爹(陳佳新)
賴霸萬 linebot.one
成為快速打造 MVP 的
https://github.com/jarsing/linebotone
13:10 ~ 13:50 在 LINE Chatbot 中串接 Google Analytics 的經驗分享 - 和風信使
使用者增長框架
AARRR 模型
如何蒐集增長框架用的數據
R/ti/p/@id
) 與預填文字(R/oaMessage/@id/text
)使用短網址服務,分享短網址時加上 utmuserId
/batch
endpointqt
參數來補送最久 4 小時前的 hitliff.getProfile()
拿userId
getOS()
,getLineVersion()
https://www.google-analytics.com/collect
beacon)14:00 ~ 14:40 不要再叫我當那條龍了!開源機器學習系統部署設計模式—以次世代 Chatbot 客服系統為例 - Toby Liu
DVC = 資料科學家的 git
保證模型的一致性
14:50 ~ 15:10 LINE BOT 整合 AI ,隨時隨地聽學外文 - 柯克
設計發想
閱讀很強,但是口說不太行,很難拼湊出一個句子。
可以練習句子的工具太少。
已更貼近自然發音。因此可以學發音。
為什麼做在LINE平台
為什麼用AZURE平台
Azure Cognititve Service
日文語音合成的困境
LIVE DEMO
中華電信有在賣 AWS、Azure、GCP,和自家開發的 Hicloud
15:20 ~ 16:00 LINE Bot 設計模式 - 郭佳甯
Messaging API 功能介紹
Rich menu
quick reply
ImageMap
Flex message
LIFF
LINE Notify
- 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 →Template message獲取用戶資訊
https://docs.google.com/presentation/d/1PlUMItXtx3vTRa2US1kE1-Nr11GwqIePQoBN7IeptHE/edit#slide=id.g8e99f5982a_0_58
訊息內容
@標記
:機器人可以拿到@XXX
文字訊息,但無法分辨是否有 @ 成功LINE bot 訊息被已讀
利用:
用戶資訊
用戶電話號碼
表單
提供資訊給用戶
對話式 vs 點擊式
圖表
Flex message 圖表成本高;Image map 維護成本更高。
地點訊息
講者:分享地點功能真的沒人在用
點按鈕開 google map
- 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 →訂閱資訊
LINE Notify 跟 LINE bot(一個 channel 只能放一個)可以共存在群組裡
推廣 bot
rich menu 的 LINE scheme: 醜,不行
LIFF 內 share target picker:UI 比較漂亮
- 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 →QA
A: LIFF 可以知道自己在哪一個群組點開的