From 9abfab2385d34c73a2b2c6fd67a94c8ae458e1d6 Mon Sep 17 00:00:00 2001 From: Dong Lei Date: Wed, 9 Oct 2019 15:46:48 -0700 Subject: [PATCH] fix samples --- SampleBots/ToDoLuisBot/AddItem/AddItem.dialog | 29 +++++++++++++++---- .../ToDoLuisBot/DeleteItem/DeleteItem.dialog | 10 +++---- SampleBots/ToDoLuisBot/Main/Main.dialog | 3 +- .../ToDoLuisBot/ShowItems/ShowItems.dialog | 10 +++---- 4 files changed, 35 insertions(+), 17 deletions(-) diff --git a/SampleBots/ToDoLuisBot/AddItem/AddItem.dialog b/SampleBots/ToDoLuisBot/AddItem/AddItem.dialog index b42caca31a..22f236fcc9 100644 --- a/SampleBots/ToDoLuisBot/AddItem/AddItem.dialog +++ b/SampleBots/ToDoLuisBot/AddItem/AddItem.dialog @@ -2,12 +2,12 @@ "$type": "Microsoft.AdaptiveDialog", "$designer": { "createdAt": "2019-07-16T20:14:36.220Z", - "updatedAt": "2019-07-16T20:15:16.280Z", + "updatedAt": "2019-10-09T22:39:10.418Z", "id": "479285" }, "autoEndDialog": true, + "defaultResultProperty": "dialog.result", "generator": "common.lg", - "$schema": "../../app.schema", "events": [ { "$type": "Microsoft.OnBeginDialog", @@ -110,15 +110,31 @@ "choices": [ { "value": "shopping", - "synonyms": ["1", "first", "shopping", "first one"] + "synonyms": [ + "1", + "first", + "shopping", + "first one" + ] }, { "value": "grocery", - "synonyms": ["2", "second", "grocery", "second one"] + "synonyms": [ + "2", + "second", + "grocery", + "second one" + ] }, { "value": "todo", - "synonyms": ["3", "third", "todo", "third one", "to do"] + "synonyms": [ + "3", + "third", + "todo", + "third one", + "to do" + ] } ], "appendChoices": true, @@ -204,5 +220,6 @@ } ] } - ] + ], + "$schema": "../../app.schema" } diff --git a/SampleBots/ToDoLuisBot/DeleteItem/DeleteItem.dialog b/SampleBots/ToDoLuisBot/DeleteItem/DeleteItem.dialog index 85339d563c..6574b443f9 100644 --- a/SampleBots/ToDoLuisBot/DeleteItem/DeleteItem.dialog +++ b/SampleBots/ToDoLuisBot/DeleteItem/DeleteItem.dialog @@ -2,12 +2,12 @@ "$type": "Microsoft.AdaptiveDialog", "$designer": { "createdAt": "2019-07-16T20:14:51.731Z", - "updatedAt": "2019-07-16T20:15:19.525Z", + "updatedAt": "2019-10-09T22:39:25.134Z", "id": "735299" }, "autoEndDialog": true, + "defaultResultProperty": "dialog.result", "generator": "common.lg", - "$schema": "../../app.schema", "events": [ { "$type": "Microsoft.OnBeginDialog", @@ -15,7 +15,6 @@ "id": "833026", "updatedAt": "2019-07-22T08:12:26.158Z" }, - "actions": [ { "$type": "Microsoft.SetProperty", @@ -221,5 +220,6 @@ } ] } - ] -} \ No newline at end of file + ], + "$schema": "../../app.schema" +} diff --git a/SampleBots/ToDoLuisBot/Main/Main.dialog b/SampleBots/ToDoLuisBot/Main/Main.dialog index b75e995a6c..e9b979db08 100644 --- a/SampleBots/ToDoLuisBot/Main/Main.dialog +++ b/SampleBots/ToDoLuisBot/Main/Main.dialog @@ -3,11 +3,12 @@ "$id": "root", "$designer": { "createdAt": "2019-07-01T10:00:39.032Z", - "updatedAt": "2019-07-16T20:04:10.274Z", + "updatedAt": "2019-10-09T22:39:34.873Z", "id": "948970", "description": "This is a bot that demonstrates managing a ToDo list using LUIS & Language Understanding" }, "autoEndDialog": false, + "defaultResultProperty": "dialog.result", "recognizer": "Main.lu", "generator": "common.lg", "events": [ diff --git a/SampleBots/ToDoLuisBot/ShowItems/ShowItems.dialog b/SampleBots/ToDoLuisBot/ShowItems/ShowItems.dialog index 3346864bf3..8f4f2a2526 100644 --- a/SampleBots/ToDoLuisBot/ShowItems/ShowItems.dialog +++ b/SampleBots/ToDoLuisBot/ShowItems/ShowItems.dialog @@ -2,12 +2,12 @@ "$type": "Microsoft.AdaptiveDialog", "$designer": { "createdAt": "2019-07-16T20:15:20.633Z", - "updatedAt": "2019-07-16T20:15:24.313Z", + "updatedAt": "2019-10-09T22:34:29.320Z", "id": "327317" }, "autoEndDialog": true, + "defaultResultProperty": "dialog.result", "generator": "common.lg", - "$schema": "../../app.schema", "events": [ { "$type": "Microsoft.OnBeginDialog", @@ -15,7 +15,6 @@ "id": "515654", "updatedAt": "2019-07-22T08:12:34.596Z" }, - "actions": [ { "$type": "Microsoft.SetProperty", @@ -148,5 +147,6 @@ } ] } - ] -} \ No newline at end of file + ], + "$schema": "../../app.schema" +}