Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB Messenger integration - Generic Template as reponse from wit.ai #66

Open
joshy opened this issue Jul 22, 2016 · 2 comments
Open

FB Messenger integration - Generic Template as reponse from wit.ai #66

joshy opened this issue Jul 22, 2016 · 2 comments

Comments

@joshy
Copy link

joshy commented Jul 22, 2016

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

@kngatai
Copy link

kngatai commented Aug 3, 2016

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.

@l5t l5t added the enhancement label Aug 3, 2016
@l5t
Copy link

l5t commented Aug 3, 2016

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants