Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 64ffaff

Browse files
committed
change names
1 parent a616b9f commit 64ffaff

File tree

10 files changed

+26
-12
lines changed

10 files changed

+26
-12
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/chrimc/map/schemas/sdk.schema",
33
"$type": "Microsoft.OnIntent",
4-
"intent": "Cancel",
4+
"intent": "cancel",
55
"actions": [
66
{
7-
"$type": "Microsoft.EndDialog"
7+
"$type": "Microsoft.Ask",
8+
"activity": "[cancel]",
9+
"expectedProperties": [
10+
"CancelConfirmation"
11+
]
812
}
913
]
1014
}

packages/dialog/templates/chooseSlot.dialog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/chrimc/map/schemas/sdk.schema",
3-
"$type": "Microsoft.OnChooseSlot",
3+
"$type": "Microsoft.OnChooseProperty",
44
"condition": "turn.dialogEvent.Value.Entity.Entity",
55
"actions": [
66
{
77
"$type": "Microsoft.Ask",
88
"activity": "[chooseSlot(turn.dialogEvent.Value.Entity.Entity)]",
9-
"expectedSlots":["turn.dialogEvent.Value.Change.Slot"]
9+
"expectedProperties":["turn.dialogEvent.Value.Change.Slot"]
1010
},
1111
{
1212
"$type": "Microsoft.SetProperty",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Cancel
22
- cancel
3-
- forget it
3+
- forget it

packages/dialog/templates/en-us/common.en-us.lg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@
3030

3131
> TODO: This is not correct--the possible values should be picked up from the event structure
3232
# chooseSlot(entity, turn)
33-
- Please choose a slot for {toLower(entity)} from \[{join(turn.schema.properties, ',')}\]
33+
- Please choose a slot for {toLower(entity)} from \[{join(turn.schema.properties, ',')}\]
34+
35+
# cancel
36+
- Do you want to end the conversation? (yes/no)

packages/dialog/templates/enumAsk.dialog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"$type": "Microsoft.Ask",
88
"activity": "[Ask**PROPERTY**]",
9-
"expectedSlots": [
9+
"expectedProperties": [
1010
"**PROPERTY**"
1111
]
1212
}

packages/dialog/templates/enumChooseSlotValue.dialog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"$type": "Microsoft.Ask",
88
"activity": "[Clarify**PROPERTY**]",
9-
"expectedSlots": [
9+
"expectedProperties": [
1010
"**PROPERTY**"
1111
]
1212
}

packages/dialog/templates/enumClarify.dialog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/chrimc/map/schemas/sdk.schema",
3-
"$type": "Microsoft.OnClarifySlotValue",
3+
"$type": "Microsoft.OnClarifyEntity",
44
"condition":"turn.dialogEvent.Value.Change.Slot == '**PROPERTY**'",
55
"actions": [
66
{
77
"$type": "Microsoft.Ask",
88
"activity": "[Clarify**PROPERTY**]",
9-
"expectedSlots": [
9+
"expectedProperties": [
1010
"**PROPERTY**"
1111
]
1212
}

packages/dialog/templates/enumClear.dialog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/chrimc/map/schemas/sdk.schema",
3-
"$type": "Microsoft.OnClearSlot",
3+
"$type": "Microsoft.OnClearProperty",
44
"condition": "turn.dialogEvent.Value.Change.Slot == '**PROPERTY**'",
55
"actions": [
66
{

packages/dialog/templates/enumSet.dialog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/chrimc/map/schemas/sdk.schema",
3-
"$type": "Microsoft.OnSetSlot",
3+
"$type": "Microsoft.OnSetProperty",
44
"condition": "turn.dialogEvent.Value.Change.Slot == '**PROPERTY**'",
55
"actions": [
66
{

packages/dialog/test/commands/dialog/forms/sandwich.form.dialog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@
5656
"type": "string",
5757
"$mappings": ["utterance"]
5858
},
59+
"CancelConfirmation": {
60+
"type": "string",
61+
"enum": [
62+
"yes",
63+
"no"
64+
]
65+
},
5966
"Toppings": {
6067
"type": "array",
6168
"items": {

0 commit comments

Comments
 (0)