forked from microsoft/BotFramework-Composer
-
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.
* Updating Samples * Removed unused LG templates
- Loading branch information
1 parent
543fa87
commit 3ee7283
Showing
14 changed files
with
194 additions
and
177 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
64 changes: 64 additions & 0 deletions
64
...kages/server/assets/projects/ActionsSample/ComposerDialogs/EmitAnEvent/EmitAnEvent.dialog
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,64 @@ | ||
{ | ||
"$type": "Microsoft.AdaptiveDialog", | ||
"$designer": { | ||
"name": "EmitAnEvent", | ||
"description": "This is to emit an event.", | ||
"id": "645228" | ||
}, | ||
"autoEndDialog": "false", | ||
"defaultResultProperty": "dialog.result", | ||
"recognizer": { | ||
"$type": "Microsoft.RegexRecognizer", | ||
"intents": [ | ||
{ | ||
"$type": "Microsoft.IntentPattern", | ||
"intent": "EmitEvent", | ||
"pattern": "emit" | ||
}, | ||
{ | ||
"$type": "Microsoft.IntentPattern", | ||
"intent": "CowboyIntent", | ||
"pattern": "moo" | ||
} | ||
] | ||
}, | ||
"triggers": [ | ||
{ | ||
"$type": "Microsoft.OnIntent", | ||
"intent": "EmitEvent", | ||
"actions": [ | ||
{ | ||
"$type": "Microsoft.EmitEvent", | ||
"eventName": "CustomEvent", | ||
"bubbleEvent": true | ||
} | ||
] | ||
}, | ||
{ | ||
"$type": "Microsoft.OnIntent", | ||
"intent": "CowboyIntent", | ||
"actions": [ | ||
{ | ||
"$type": "Microsoft.SendActivity", | ||
"activity": "Yippee ki-yay!" | ||
} | ||
] | ||
}, | ||
{ | ||
"$type": "Microsoft.OnBeginDialog", | ||
"$designer": { | ||
"id": "140685" | ||
}, | ||
"actions": [ | ||
{ | ||
"$type": "Microsoft.SendActivity", | ||
"$designer": { | ||
"id": "576334", | ||
"name": "Send a response" | ||
}, | ||
"activity": "[bfdactivity-576334]" | ||
} | ||
] | ||
} | ||
] | ||
} |
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
35 changes: 35 additions & 0 deletions
35
...server/assets/projects/ActionsSample/ComposerDialogs/QnAMakerAction/QnAMakerAction.dialog
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,35 @@ | ||
{ | ||
"$type": "Microsoft.AdaptiveDialog", | ||
"$designer": { | ||
"name": "QnAMakerAction", | ||
"description": "An action to call QnA knowledge base.", | ||
"id": "901199" | ||
}, | ||
"autoEndDialog": "true", | ||
"defaultResultProperty": "dialog.result", | ||
"triggers": [ | ||
{ | ||
"$type": "Microsoft.OnBeginDialog", | ||
"$designer": { | ||
"name": "BeginDialog" | ||
}, | ||
"actions": [ | ||
{ | ||
"$type": "Microsoft.QnAMakerDialog", | ||
"$designer": { | ||
"id": "878804", | ||
"name": "Connect to QnA Knowledgebase" | ||
}, | ||
"knowledgeBaseId": "settings.qna.knowledgebaseid", | ||
"endpointKey": "settings.qna.endpointkey", | ||
"hostname": "settings.qna.hostname", | ||
"noAnswer": "Sorry, I did not find an answer.", | ||
"threshold": 0.3, | ||
"activeLearningCardTitle": "Did you mean:", | ||
"cardNoMatchText": "None of the above.", | ||
"cardNoMatchResponse": "Thanks for the feedback." | ||
} | ||
] | ||
} | ||
] | ||
} |
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
Oops, something went wrong.