Skip to content

Instantly share code, notes, and snippets.

@AndyButland
Created September 26, 2016 09:31
Show Gist options
  • Select an option

  • Save AndyButland/9cefc3f944c026a368bddfc5c9236d5a to your computer and use it in GitHub Desktop.

Select an option

Save AndyButland/9cefc3f944c026a368bddfc5c9236d5a to your computer and use it in GitHub Desktop.
[LuisIntent(“WhoIs”)]
public async Task WhoIs(IDialogContext context, LuisResult result)
{
var response = await GetWhoIsResponse(result.Entities.First());
await context.PostAsync(response);
context.Wait(MessageReceived);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment