I have a webchat bot working fine (I can use speech with it and it returns with speech) with the Bing Speech using the following link:
With option 3:
const speechOptions = {
speechRecognizer: new CognitiveServices.SpeechRecognizer({ subscriptionKey: 'YOUR_COGNITIVE_SPEECH_API_KEY' }),
speechSynthesizer: new CognitiveServices.SpeechSynthesizer({
gender: CognitiveServices.SynthesisGender.Female,
subscriptionKey: 'YOUR_COGNITIVE_SPEECH_API_KEY',
voiceName: 'Microsoft Server Speech Text to Speech Voice (en-US, JessaRUS)'
})
};
However, I am trying to change over from the Bing Speech API to the Speech Services AP, as Bing Speech is being retired.
Does anyone know how to do this for my webchat bot?