80. [LuisModel("78685ddf-f144-4a10-9840-xxxxxxxxxxxx", "0fc3f088e3ab402f822fxxxxxxxxxxxx")]
[Serializable]
class HelpDeskOrderDialog : LuisDialog<HelpDeskOrder> {
[LuisIntent("")]
public async Task None(IDialogContext context, LuisResult result) {
await context.PostAsync("I'm sorry, I didn't understand you.");
context.Wait(MessageReceived);
}
[LuisIntent("InstallSoftware")]
public async Task ProcessInsallSoftware(IDialogContext context, LuisResult result) {
string software = result.Entities[0].Entity;
await context.PostAsync($"So, you want to install {software}. I will put your request into the system. ");
context.Wait(MessageReceived);
}
…
94. "This is the text that will be displayed."
"This is the text that will be spoken."
await
95.
96.
97. Create your skill
logic using the
Bot Framework
• Build a bot using
the Bot Builder SDK
• Use Cognitive
Services (LUIS) for
natural language
understanding
Add the
Cortana
channel
• Register your bot
as a Cortana skill
• Configure Cortana-
specific data and
features
Publish your
skill
• Make your skill
discoverable by all
Cortana users