botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[node.js] EntityRecognizer is very relaxed when parsing afirmative/negative responses

Open JoseAntonioRodriguez opened this issue 9 years ago • 4 comments

When answering to a Prompt.confirm dialog, yes, please is recognized as an affirmative response (which is great), but yesterday is also recognized as an affirmative response.

JoseAntonioRodriguez avatar Dec 12 '16 12:12 JoseAntonioRodriguez

is this entity recognize a luis model?

cahann avatar Dec 13 '16 06:12 cahann

Don't think so. It's the EntityRecognizer used by Prompts dialogs.

JoseAntonioRodriguez avatar Dec 13 '16 08:12 JoseAntonioRodriguez

Hi Jose,

Would you mind sharing a snippet showing your bot's code so I can see what is going on here?

Thanks!

carlosscastro avatar Dec 16 '16 18:12 carlosscastro

I took the pull request

Stevenic avatar Dec 17 '16 19:12 Stevenic