Reputation: 19
Is speech recognition option available in developing facebook bots?
I could not find any document related to speech recognition in developers.facebook.com
But I could see FB has purchased Wit.ai for speech recognition.
Is it under development?
Upvotes: 0
Views: 1138
Reputation: 1590
The short answer is no. I do, however, believe there are a lot of promise to come with Wit.ai as you mentioned. I tried out Wit.ai back in June and it was only fundamental conversational AI builder.
As of now, the Facebook Messenger Bot doesn't come with Speech Recognition available. I implemented mine with both IBM Watson and Google Cloud Speech in this project, you can check it out for reference. It works pretty well, of course minus the very long response time (up to 10s for a normal conversation sentence, during which I signal the bot to display the "..." sign)
The solution, unfortunately, is not too optimal at this point. The bot receives the audio URL after the voice message was sent by the user, then my bot has to download that file (which is in pretty low-quality compressed mp3
format), then do audio conversion to wav/flac for IBM Watson/Google Cloud Speech to process. I have a little discussion about that round trip & scalability at the end of my Github documentation - hypothetical and not empirically stress-tested though.
Upvotes: 3