Presentation is loading. Please wait.

Presentation is loading. Please wait.

Click to edit the title text format Create a simple TuTalk dialogue agent Pamela Jordan University of Pittsburgh Learning Research and Development Center.

Similar presentations


Presentation on theme: "Click to edit the title text format Create a simple TuTalk dialogue agent Pamela Jordan University of Pittsburgh Learning Research and Development Center."— Presentation transcript:

1 Click to edit the title text format Create a simple TuTalk dialogue agent Pamela Jordan University of Pittsburgh Learning Research and Development Center

2 Agenda Try creating your own version of dialogue agent from demo yesterday Extend the dialogue agent

3 TuTalk Session Team Pam Jordan Yue Cui (Jenny) Brian Hall (Moses) Mike Ringenberg

4 Authoring basics Write recipes and concepts  Concepts are like the ingredient list in a cooking recipe  Recipe uses a simple referring expression (concept label) and must look at ingredient list for the details Recipe has one to many steps Step is an  Initiation that is optionally paired with an expected Response  Can be a pointer to another recipe

5 Examples of concept specifications (abstract) ask_share_appetizer [So, should we share an appetizer?] [I’d like to share an appetizer. What looks good to you?] skip_appetizer [phrase=minimal, I not appetizer] [lang=fr, Je n’ai pas le temps pour un amuse- gueule]

6 Example of a dialogue script (abstract) Response action: push to recipe named possible responses Recipe: select-appetizer Step: enthuse_about_appetizers Step: ask_share_appetizer [agree_to_share_appetizer] [skip_appetizer abort, ask-soup] [unknown abort, loose-temper] Step: agree-on-appetizer initiation Concept to realize or recognize Subrecipe: push to recipe named goal name

7 Import Corpus and Select Dialogue Under Tab Infomagnets: (top menu file: open: Load instance: select Coached Problem Solving Under Tab Topic Boundary will be  Asked about saving – say “yes”  Select dialogue 338 sub041122_16_3045.txt

8 Select a Topic for Authoring (1) Try moving around, adding, deleting topic boundaries (see TuTalk manual) Move to Author tab

9 Select a Topic for Authoring (2) Create a script file; a collection of recipes (top-menu:author:new script file) Create a template for a recipe (top- menu:author:new template)  Can have same goal name multiple times  Template name distinguishes between them

10 Select a Topic for Authoring (3) Append topic: (top menu Author: append conversation) Select topic to append: (select “cluster 7” from flow diagram: ok in lower right)

11 Merge Sentences Pair tutor/student sentences: (left mouse on SENTENCE label: drag up or down to SENTENCE label to pair: when turns green release) For tutor sentence with no student response, pair up tutor sentences temporarily Delete extra sentence at end: (right click on sentence: select sentence: right click again: delete sentence) Add concepts to each initiation and response: (right click to right or initiation or response: new concept: enter name)

12 Extend Existing Script: add new step Create new step at end (top-menu:author:insert pair) Move new step up one (use scrollbar on right to scroll so see labels for the two steps:left click on step label and drag above other step until see green line and drop it) Create new step initiation (right click to right of initiation display box:enter phrase for initiation concept: enter concept label) Create new step response (right click to right of response display box: enter phrase for response concept: enter concept label)

13 Extend Existing Script: add additional responses Add new response to step: (select add response to left of step) Create response concept: (right click next to new response: new concept: enter response phrase: ok: enter concept name: ok)

14 Extend Existing Script: add response action (1) Save template (top menu: save template) Create a new response template with one step (top menu: new template) Save new template (top menu: save template) Open template (top menu: open template) Attach new template to a response (right click to right of response: pick goal)

15 Extend Existing Script: add response action (2) Right click to right of response: pick goal Right click to right of response: display goal  If recipe is one wanted – select okay  If recipe is not one wanted – select cancel: re- pick goal with left click

16 Save, Compile & Test Save template (top menu: save template) Compile & test (top menu: compile & test: from database: select script: select goal/recipe: select test at bottom of xml window) Will automatically go to Test Dialogue tab Try out the dialogue


Download ppt "Click to edit the title text format Create a simple TuTalk dialogue agent Pamela Jordan University of Pittsburgh Learning Research and Development Center."

Similar presentations


Ads by Google