howdyai / botkit-middleware-witai

Middleware for using Wit.ai with Botkit-powered bots
MIT License
87 stars 49 forks source link

accessing witai info in convo.ask() #3

Open liberatevillage opened 8 years ago

liberatevillage commented 8 years ago

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, finding an article for you now...');
  console.log("response:" + response.text);
  console.log("convo:" + convo.text);
  convo.next();

});`
Shreeraj1746 commented 7 years ago

I would also like tho know this.