node-wit
node-wit copied to clipboard
FB Messenger integration - Generic Template as reponse from wit.ai
Can the response of wit.ai be a generic template?
I haven't figured out if the following is possible or not (yet?). I want to integrate the wit.ai to a fb messenger bot where the whole conversations should be run by wit.ai (via runActions). Some of the responses needs to be instances of the generic template some should be a video reponse. Is this possible? All the examples I have seen so far is, that the bot can return only strings (weather in XXX is sunny).
Thanks for reading, Joshy
I to am interested in the answer. I have hacked it abit by using the context object to store the generic template JSON string but it looks rather messy.
Thanks for asking. This is currently not supported out of the box and you will have to rely on a Bot executes (aka an client-side action)