bot-context icon indicating copy to clipboard operation
bot-context copied to clipboard

Usage with Wit.ai and Messenger

Open jaambee opened this issue 9 years ago • 2 comments

Hi, I cannot figure out how to do the connection with the wit.ai API. I know that I have to make the outgoing messages with the Facebook endpoint but I don't know how to use with the wit.ai context. Thanks!

jaambee avatar Mar 28 '17 16:03 jaambee

@jaambee can you give more details how are you presently using the wit.ai context. You could actually not use it at all and just use bot-context. Some details would be helpful.

In the past I have used api.ai purely for intent classification. And use bot-context for predicting the next action.

ashubham avatar Mar 29 '17 01:03 ashubham

@ashubham I receive the message on an endpoint and the text is sended to Wit.ai. The response, send me a context object with all the entities detected and his metadata. With this information, I run wit.ai actions implemented on my backend and after I send the response via facebook message endpoint.

jaambee avatar Mar 29 '17 13:03 jaambee