Skip to content

New Speech Recognizer #1137

@DanielTizon

Description

@DanielTizon

Hi,

Currently, I am using Webchat with Bing Speech Recognizer, and I use this script in the webchat:

  var speechOptions = {
            speechRecognizer: new CognitiveServices.SpeechRecognizer({
                subscriptionKey: 'key',
                locale: "es-ES"
            }),
            speechSynthesizer: new CognitiveServices.SpeechSynthesizer(
                {
                    subscriptionKey: 'key',
                    gender: CognitiveServices.SynthesisGender.Female,
                    voiceName: 'Microsoft Server Speech Text to Speech Voice (es-ES, HelenaRUS)'
                }
            )
        }

But this speech recognizer is doing a bad "speech to text" with some spanish phrases, so
I would like to use the new Microsoft Speech Service (with the hope of a better performance):

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/

But when I change the subscription key of SpeechRecognizer for the new one of the Speech Service created in Azure, I get the following errors:

HTTP Authentication failed; no valid credentials available
ConnectionEstablishErrorEvent
RecognitionEndedEvent

I guess that I still can't use the new speech service in webchat or I need to change something in code, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions