From e81b9dd23b3c69024caf8b53dcddc0bf158f61e2 Mon Sep 17 00:00:00 2001 From: Chris McConnell Date: Thu, 21 Apr 2016 17:41:40 -0700 Subject: [PATCH] Fix for issue #151 on github where strings from LUIS models were not handled properly. --- CSharp/Library/FormFlow/FormDialog.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CSharp/Library/FormFlow/FormDialog.cs b/CSharp/Library/FormFlow/FormDialog.cs index 231eb508e9..56de139287 100644 --- a/CSharp/Library/FormFlow/FormDialog.cs +++ b/CSharp/Library/FormFlow/FormDialog.cs @@ -224,8 +224,9 @@ async Task IDialog.StartAsync(IDialogContext context) } var input = builder.ToString(); await step.DefineAsync(_state); + step.Start(context, _state, _formState); var matches = MatchAnalyzer.Coalesce(step.Match(context, _state, _formState, input), input); - if (MatchAnalyzer.IsFullMatch(input, matches, 0.5)) + if (MatchAnalyzer.IsFullMatch(input, matches, 0.0)) { // TODO: In the case of clarification // 1) Go through them while supporting only quit or back and reset