BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Is it possible to integrate with other speech provider like google speech?

Open ryzam opened this issue 8 years ago • 6 comments

HI guys

Good work on speech features enable. Btw I'm looking an example to integrate with other speech providers like google speech, this is because current bing speech API only supports few languages.

ryzam avatar Dec 11 '17 19:12 ryzam

Sounds like a good project. Someone need to look at SpeechModule.ts and implement ISpeechRecognizer using Google Cloud Speech.

I looked at their API but I am not aware of any client library that talk to browser directly.

Do you know if they have any examples using Google Cloud Speech with browser?

compulim avatar Dec 11 '17 19:12 compulim

Please refer to the following site. https://gcpdemo.gridcell.io/

khs3141 avatar Jul 19 '18 04:07 khs3141

Web Chat v4 support speech engines that conform to standard W3C Web Speech API.

AFAIK, GCS has very similar API to W3C standard, and I believe Chrome use GCS if the selected voice font is an online-only font. Please look at this line in this sample to see how to integrate your speech engine with Web Chat.

compulim avatar Nov 29 '18 23:11 compulim

I also need to integrate webchat with google speech API (their recognition and synthesis is better at least for my language...). Where can I look for pointers on how to implement a ponyfill for easily integrate with renderWebChat and pass the webSpeechPonyfillFactory?

I was able to use the samples to get it working (hybrid approach with microsoft cognitive services and browser capabilities) but now need to integrate with google speech API.

Thanks in advance.

AndreMantas avatar Oct 15 '19 15:10 AndreMantas

Has anyone completed this Google Speech Integration with Webchat Speech?

cmnisal avatar Mar 03 '20 21:03 cmnisal

As long as the service you are integrating conform with W3C Web Speech API standard, it should be fine.

The standard can be found at https://wicg.github.io/speech-api/.

compulim avatar Mar 03 '20 21:03 compulim