Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use Custom Speech endpoint with DialogServiceConnector #153

Closed
henryjenkins opened this issue Mar 4, 2020 · 2 comments
Closed

Can't use Custom Speech endpoint with DialogServiceConnector #153

henryjenkins opened this issue Mar 4, 2020 · 2 comments
Assignees

Comments

@henryjenkins
Copy link

henryjenkins commented Mar 4, 2020

Using microsoft-cognitiveservices-speech-sdk@1.10.0.

We are trying to use a custom speech endpoint with DialogServiceConnector so that we can leverage a custom speech model with the Direct Line Speech Bot Framework channel.

We are setting the custom endpoint as a service property on the BotFrameworkConfig as follows:

botFrameworkConfig = BotFrameworkConfig.fromAuthorizationToken(
      authorizationToken,
      region
    );

botFrameworkConfig.setServiceProperty(
        'cid',
        ourCustomEndpointId,
        ServicePropertyChannel.UriQueryParameter
      );

With this property set, speech recognition stops working.
We receive the session started event, but not the speech start detected or recognizing/recognized events.
Removing the property restores normal operation.

The same code and endpoint appears to work correctly with a C# client.

@rhurey
Copy link
Member

rhurey commented Mar 4, 2020

@modnarb, can you take a look at this?

@henryjenkins
Copy link
Author

This seems to have been fixed in microsoft-cognitiveservices-speech-sdk@1.11.0.
Thanks @modnarb !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants