-
Notifications
You must be signed in to change notification settings - Fork 34
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
question #5
Comments
Hi @dcsan - thanks!, |
yea, could be right. well maybe some example integration with a api.ai or other "conversation system" or NLP tools could be helpful... are you just coding your bots using raw regexes? managing conversation state is quite a pain... |
I integrate today with WIT.ai. But I use it for NLP only. I will add some integration examples soon, thanks. |
yes control is good ;) I had some problems when in the middle of a bot kit conversation, and a menu event comes in from somewhere - ie not a conversation event. it's hard to exit the conversation. ms bot framework seems a bit more flexible for changing state to jump across trees, not just out of the loop. |
@miki2826 Hi Miki 2826 can you please post integration to wi.ai example. I am trying to integrate to wit.ai but kinda new to this. |
Hi @chiransudha , There are few ways to use WIT API.
const botly = new Botly({
accessToken: "FACEBOOK_ACCESS_TOKEN"
verifyToken: 'VERIFICATION_TOKEN'
});
const client = new Wit({accessToken: 'MY_TOKEN'});
botly.on('message', (sender, message, data) => {
client.message(data.text, {})
.then((data) => {
console.log('Yay, got Wit.ai response: ' + JSON.stringify(data));
})
.catch(console.error);
});
With botly you can save the whole wiring with express and just call |
hey - just found this here. very interesting and good to see you implement the full FB APIs.
do you plan to add anything for conversations etc? like botkit and msbot framework?
The text was updated successfully, but these errors were encountered: