ok
CHOOSE YOUR LANGUAGE

DDE Editor 對話開發環境編輯器

DDE 課程大綱

1. DS(Dialogue System)重要概念介紹

2. DDE (Dialogue Development Environment)基本操作

3. DS回問

4. DS Tool

 

DS重要概念介紹

•Concept

  –Class (Entity)

     •Instance

•Intent (User Utterance)

  –Predefine Sentences

•Plan

  –Events

     •CSR

  –Belief

     •Required

     •Multivalue

     •Default Value

  –Actions

     •Task

     •TTS(Text To Speech)

 

DS重要概念介紹: plan

•Trigger Plan的條件 :

  –Input Context滿足 → 限定當對話流程中, context為此值, 才有機會執行此Plan

  –Event發生

     •CSR → 需填入 intent ID 用以指定 intent   (當使用者講的話符合這個CSR event定義)

•Belief → 此Plan中需要從使用者身上收集的參數

  –Belief Type

     •Required: 一定收集到的參數,沒收集到會放棄執行Action及trigger此plan

     •NotRequired : 不一定要收集到的參數

     •NotRequiredButTry:不一定要收集到的參數但會試著回問

•Actions

  –OutputContext à 用以設定目前的context 狀態

  –Task

     •TTS → 對應到此Plan後的response

 

PLAN: Context

 

DS重要概念 : Concept

•Concept

  –Why need to defined concept

     •該App領域會用到的詞彙可供DS辨認

     •某些詞彙在某些領域有特殊的意義

       »Ex. 溫度 和 日落時間 都是天氣的應用

•What should be class and instance?

  –建intent句子時, 如果用到的詞彙是需要DS協助抽參數(且數量很多時)並回傳給APP端處理時,建議該詞彙需定義class。

     •E.g., 我喜歡吃 + <水果>

                        Class: 水果, fruit

                        Instances :  蘋果/葡萄/木瓜/水梨 …….

 

DS重要概念介紹: INTENT (user utterance)

•Why define Intent ?

  –為 DS 建立 語意(意圖), 用以辨認使用者可能講的各種語句

Sentences in an Intent

  –定義該 Intent 使用者可能講的 各種語句 (user utterances)

     •E.g.,Intent :  ILikeEatFruit    

             Sentences:  我喜歡吃水果 /我愛吃水果/我很愛吃水果

              User: 我喜歡吃蘋果     DS回傳:  fruit1 = 蘋果

 

How many Sentences is enough for an intent?

•Guideline :

for one intent

  •5~10 sentences with various grammar pattern

     »Ex. “有什麼音樂好聽”

       • “有什麼音樂好聽” , “推薦我一些音樂” , ”介紹好聽的音樂” 等句型差異甚多的例句

 

DS回問

•收集不到參數進行回問

•發生intent conflict (找到兩個可能的intent時) 進行回問

  –ex. "Do you want me to "play music“ or   “read a story”

  –Ex. 靠function name 以及 app name回問

•找到一個intent但是 confidence不夠高時進行回問

  –ex. Do you want me to “play music”

  –Ex. 靠function name回問

 

DS TOOL UPDATE

DS tool Download Place

 

DS Tool Update Part1

 

DS Tool Update Part2

 

DS Tool Update Part3

DS Tool Update Part4

Go To Top