Chapter 6 Chatbot
應用服務創作:聊天機器人
6.1 Dialogflow
6.2 Key elements
Agents
A Dialogflow agent is a virtual agent that handles conversations with your end-users. A Dialogflow agent is similar to a human call center agent. You train them both to handle expected conversation scenarios, and your training does not need to be overly explicit.Intents
用來處理某種對話內容,如「日期相關」intent,一個intent要包含以下幾個元素:
An intent categorizes an end-user’s intention for one conversation turn.- Tranining Phrases
- Action
- Parameters: 定義電腦產生之reponse所需之information產生來源與方式
- Reponses
- Tranining Phrases
1 Agents + Many Intents of certain categories of problems = A specialist agent to answer certain types of questions.
- entities
6.3 Flow of work
End-user問句送到
Agent: Agent 找出最適合的可能 intents
Intents: 產生reponse回傳End-user