Chapter 6 Chatbot

應用服務創作:聊天機器人

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
    An intent categorizes an end-user’s intention for one conversation turn.

    用來處理某種對話內容,如「日期相關」intent,一個intent要包含以下幾個元素:
    • Tranining Phrases
    • Action
    • Parameters: 定義電腦產生之reponse所需之information產生來源與方式
    • Reponses

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

6.4 Construct Agents

使用測試環境:

6.5 Chatbot flow chart