Stevenic / botkit-middleware-luis

Middleware for using http://luis.ai with Botkit-powered bots
MIT License
16 stars 10 forks source link

Prettied it up, applied some linting, changed hereIntent and hereAction #6

Open roeintense opened 5 years ago

roeintense commented 5 years ago
kevinmarchese commented 5 years ago

Hi Roeintense,

I’m using the botkit.Luis.middleware which works however the problem is it also sends any message type, like interactive_messages to Luis for processing as well. I’m wondering if there is any trick to stopping this from happening inside the middleware because if one of my dynamic dropdown menus are selected and if any of them at some point match another intent it would fire that intent from another function, at least I think it will, like a bye or greeting intent which I’m trying to avoid. The good thing is the threshold isn’t great enough yet. I’d appreciate any thoughts u may have or any tricks you might suggest. Thank you for your time an consideration.