3 ms·
In it's current implementation, Wit.ai is broken. I built a bot recently on it and it was one of the worst experiences I've ever had integrating into a third p
by freen 10y ago
In it's current implementation, Wit.ai is broken.
I built a bot recently on it and it was one of the worst experiences I've ever had integrating into a third party API.
By a long shot.
1) chat logic is declared on their buggy web platform, which is inconsistent if you use multiple tabs, and doesn't actually indicate current system status. I had a number of "bugs" whereby my "story" was correct, but attempts to test it failed and only after I gave up and let it be for a few hours did it start to work. Meaning stories that were broken would all of a sudden be marked green after a few hours. Flows that failed would start to work given some unclear quantity of time. Oh yeah, and the opposite too: things that worked while futzing around with their interface would potentially break after a few hours. Delightful.
2) Documentation is horrific. It's not clear from any of their examples how to build anything other than a toy to turn on and off lights. If you can figure out how to build a "yes-or-no" entity that follows two different paths from their "recipes" I will buy you a drink ($10 USD and for the first five people). Just provide proof and a BTC address.
3) Flow control is next to impossible to implement, and when you do, it's totally opaque as to why the bot actually chose one flow over the other.
4) can't currently version your stories, which means you can develop new features without breaking production.
6) their support is horrendous. I have four outstanding questions, all unanswered after, oh, two weeks?
The combination of all of the above means it's INCREDIBLY brittle, hard to reason about and extremely time consuming to develop against.
If Facebook wants people to build bots for their messenger platform, open source wit.ai, and then pay people to develop it. This current state of affairs is untenable, morally questionable for all of the reasons outlined elsewhere in the thread (which have gone unsatisfactorily answered by apparent Facebook employees who should know), and fundamentally broken.