Cognitive-services-speech-sdk: Custom Commands Web Endpoint called twice

Created on 16 Oct 2020  路  4Comments  路  Source: Azure-Samples/cognitive-services-speech-sdk

I'm trying to use a Web Endpoint with my Custom Commands. The guide available at https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-custom-commands-setup-web-endpoints says that I can retrieve HTTP Response by using a particular syntax:

image

However, I have noticed that, if I specify such a field in the "On success" tab of the "Call web endpoint" configuration dialog:

image (1)

The field Message is correctly retrieved from the response of my endpoint and included in the speech response, but the web endpoint is called twice. If I remove the reference to the HTTP Response (leaving only "OK"), is it called only one time.

I have also tried creating a new Custom Commands project, but the behavior is the same.

Could someone help me with this issue?

All 4 comments

Hi @marcominerva, thank you for reporting this! I'll let the Custom Command service team know about it right away. They or I will reply here. Darren.

@marcominerva, the Custom Command service team will take a look at this bug this week.

Thank you for your support!

@marcominerva The Custom Command service team identified the regression that caused this bug, and a fix is in code review right now. The fix is expected to be deployed in a few days.

Was this page helpful?
0 / 5 - 0 ratings