A hubot wit.ai router
See src/wit-ai.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-wit-ai --save
Then add hubot-wit-ai to your external-scripts.json
:
[
"hubot-wit-ai"
]
user1>> hey hubot, what is the weather like tomorrow?
(hubot send "what is the weather like tomorrow" to wit.ai and emit intent as event)
or
user1>> @hubot: hey what is the weather like tomorrow?
(hubot send "what is the weather like tomorrow" to wit.ai and emit intent as event)