Integrating LUIS with FormFlow
I have created a bot, having a FormFlow in it. Now if you type I want to launch a product, LUIS will tell which dialog it has to go to : internal static IDialog<AssesmentHelper> CreateProduct() { return Chain.From(() => FormDialog.FromForm(AssesmentHelper.BuildForm)) .Do(async (context, profileForm) => { try { var completed = await profileForm; } catch (FormCanceledException<AssesmentHelper> e) { string reply; if (e.InnerException == null) { reply = $"You quit on {e.Last}--maybe you can finish next time!"; } else { reply = Responses.ShortCircuit; } await context.PostAsync(reply); } }); }