wit-module
It is a customized module for wit.ai API.
Install
$ npm install --save wit-module
Usage
Initializing the wit token to process.env.WIT_TOKEN
var WIT = var witModule = processenvWIT_TOKEN; witModule
Document
converse (_str, _sessionId, _postData)
return a promise with response body Read more about converse
WITprototype // {// "confidence": 0.021887092777471962,// "type": "action",// "action": "findTheater",// "entities": {// "datetime": [// {// .....// }// ],// "intent": [// {// "confidence": 0.9870533668643489,// "value": "movie"// }// ]// }// }