microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.59k stars 1.53k forks source link

[Tracking] DLSpeech: Cannot piggyback additional data for speech recognition #2680

Open compulim opened 4 years ago

compulim commented 4 years ago

If you would want to prioritize this feature work, please vote and optionally, provide a user story.

Feature Request

When using text-based experience, we allow developers to piggyback additional information to outgoing messages. This is demonstrated in sample 15.a "piggyback data on every outgoing activity".

With Direct Line Speech, you can no longer piggyback additional data to all speech-based outgoing activities.


[edit by @corinagum]:

Note to dev:

Web Chat warnings also need to be updated:

https://github.com/microsoft/BotFramework-WebChat/blob/master/packages/directlinespeech/src/createAdapters.js#L124 createAdapters.js warning needs to be updated to remove userId check.

corinagum commented 3 years ago

Moving this to front-burner.

davidjrh commented 3 years ago

Is this now supported by using the SpeechActivityTemplate property? Sharing the link for the .net SDK. https://docs.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.dialog.dialogserviceconnector.speechactivitytemplate?view=azure-dotnet

This was introduced on Feb 2020. https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/cognitive-services/Speech-Service/releasenotes.md#speech-sdk-1100-2020-february-release