botkit-middleware-witai
botkit-middleware-witai copied to clipboard
Middleware for using Wit.ai with Botkit-powered bots
- If the bot adapter name is 'Web Adapter', then the bot won't have an id, but we still want the messages sent to Wit
I adapted the middleware to work with version 5.0.0 of node-wit. I added an optional config option so that you could specify a command to use instead of the bot...
hi, I made some changes to make it compatible with the node-wit version 5
Hey guys, just a headsup about the npm package. It looks like it's not up to date to the latest release from this repo and thus doesn't work with the...
…faultEars 1. Context Handler - A context handler interface to get the context object and send it to wit, It has a function with below signature function getContext(bot, message); -...
The `message.text` value passed to the `middleware.receive` function contains the username mentioned, which means it gets set to wit.ai. For example, a "direct_mention" shows up in wit.ai as: ` testing...
In `botkit-middleware-witai.js`, the `receive` function has this condition: `message.text && message.text.indexOf(bot.identity.id) > -1)` When I directly message the bot, the `message.text` doesn't contain the bot's identity so this always condition...
Getting "WARNING":"DEPRECATED" in the returned payload. I can see my intent in the `intent` array, but not on the top object under `outcomes`.
How would I access the intents within this method or would I need to make a separate call to wit.ai? Thanks! `convo.ask('What can I help with?',function(response, convo) { ``` convo.say('Great,...
I've used both this repo and the fork that includes an API update, I'm new to Wit, my bot doesn't respond at all once I include the middleware for hears....