-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6da6f46
commit 6edb950
Showing
12 changed files
with
320 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[import](common.lg) | ||
|
||
# SendActivity_mPMhVV() | ||
[Activity | ||
Text = ${SendActivity_mPMhVV_text()} | ||
] | ||
|
||
# SendActivity_mPMhVV_text() | ||
- The turn data is ${turn} | ||
# SendActivity_2NELC1() | ||
[Activity | ||
Text = ${SendActivity_2NELC1_text()} | ||
] | ||
|
||
# SendActivity_2NELC1_text() | ||
- You are in lemond | ||
# TextInput_Prompt_9bbjlU() | ||
[Activity | ||
Attachments = ${json(TextInput_Prompt_9bbjlU_attachment_K3d4D9())} | ||
] | ||
|
||
# TextInput_Prompt_9bbjlU_attachment_K3d4D9() | ||
> To learn more Adaptive Cards format, read the documentation at | ||
> https://docs.microsoft.com/en-us/adaptive-cards/getting-started/bots | ||
- ```{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.3", | ||
"body": [ | ||
{ | ||
"type": "Input.ChoiceSet", | ||
"id": "myMultiColor", | ||
"label": "What color do you want? (isMultiSelect:false, style:compact)", | ||
"value": "1", | ||
"choices": [ | ||
{ | ||
"title": "Red", | ||
"value": "1" | ||
}, | ||
{ | ||
"title": "Green", | ||
"value": "2" | ||
}, | ||
{ | ||
"title": "Blue", | ||
"value": "3" | ||
} | ||
], | ||
"isMultiSelect": true | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.Submit", | ||
"title": "OK" | ||
} | ||
] | ||
}``` | ||
# SendActivity_N55iwh() | ||
[Activity | ||
Text = ${SendActivity_N55iwh_text()} | ||
] | ||
|
||
# SendActivity_N55iwh_text() | ||
- ```the selected data= | ||
${split(dialog.multiselect, ",")} | ||
``` |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"$kind": "Microsoft.AdaptiveDialog", | ||
"$designer": { | ||
"id": "BGjg5x", | ||
"name": "lemond", | ||
"comment": "" | ||
}, | ||
"autoEndDialog": true, | ||
"defaultResultProperty": "dialog.result", | ||
"triggers": [ | ||
{ | ||
"$kind": "Microsoft.OnBeginDialog", | ||
"$designer": { | ||
"name": "BeginDialog", | ||
"description": "", | ||
"id": "fItYv6" | ||
}, | ||
"actions": [ | ||
{ | ||
"$kind": "Microsoft.SendActivity", | ||
"$designer": { | ||
"id": "mPMhVV" | ||
}, | ||
"activity": "${SendActivity_mPMhVV()}" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SendActivity", | ||
"$designer": { | ||
"id": "2NELC1" | ||
}, | ||
"activity": "${SendActivity_2NELC1()}" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SetProperty", | ||
"$designer": { | ||
"id": "guKgJL" | ||
}, | ||
"property": "dialog.tracedata", | ||
"value": [ | ||
{ | ||
"title": "Some Date1", | ||
"value": "1", | ||
"field": [ | ||
{ | ||
"title": "Some Date", | ||
"value": 0, | ||
"ask_prompt": "enter the date", | ||
"api_name": "expiry__c", | ||
"type": "date" | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "Some text1", | ||
"value": "2", | ||
"field": [ | ||
{ | ||
"title": "Some text", | ||
"value": "", | ||
"ask_prompt": "enter the text information", | ||
"api_name": "text_c", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"$kind": "Microsoft.TraceActivity", | ||
"$designer": { | ||
"id": "jSZ9L3" | ||
}, | ||
"name": "TraceDataName", | ||
"label": "TraceDateLabel", | ||
"value": "=dialog.tracedata" | ||
}, | ||
{ | ||
"$kind": "Microsoft.TextInput", | ||
"$designer": { | ||
"id": "9bbjlU" | ||
}, | ||
"disabled": false, | ||
"maxTurnCount": 3, | ||
"alwaysPrompt": false, | ||
"allowInterruptions": false, | ||
"unrecognizedPrompt": "", | ||
"invalidPrompt": "", | ||
"defaultValueResponse": "", | ||
"prompt": "${TextInput_Prompt_9bbjlU()}", | ||
"property": "dialog.multiselect", | ||
"value": "=turn.activity.value.myMultiColor" | ||
}, | ||
{ | ||
"$kind": "Microsoft.SendActivity", | ||
"$designer": { | ||
"id": "N55iwh" | ||
}, | ||
"activity": "${SendActivity_N55iwh()}" | ||
} | ||
] | ||
} | ||
], | ||
"generator": "lemond.lg", | ||
"recognizer": "lemond.lu.qna", | ||
"id": "lemond" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$kind": "Microsoft.LuisRecognizer", | ||
"id": "LUIS_lemond", | ||
"applicationId": "=settings.luis.lemond_en_us_lu.appId", | ||
"version": "=settings.luis.lemond_en_us_lu.version", | ||
"endpoint": "=settings.luis.endpoint", | ||
"endpointKey": "=settings.luis.endpointKey" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$kind": "Microsoft.MultiLanguageRecognizer", | ||
"id": "LUIS_lemond", | ||
"recognizers": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$kind": "Microsoft.CrossTrainedRecognizerSet", | ||
"recognizers": [] | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters