hubot-wit-helper
An helper to use Wit.ai with your Hubot bot
Install
npm install hubot-wit-helper
Use
Here's a basic hubot script :
'use strict'; { const witHelper = ; const WIT_TOKEN = 'myWitToken'; const actions = { //res object is attached to the session sessionres; ; } { ; } { console; sessionres; } ; const bot = { const witRobot = WIT_TOKEN actions robot; witRobot; }; moduleexports = bot; };
License
MIT