-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
QnAMaker responses are said twice when using webchat #1863
Comments
Are you using our webchat harness or the default one? Or a specific demo environment? |
the webchat from test harness, will send you internal URL offline. |
FYI, i think the issue may be related to the ThumbnailCard created from {Text: "Answer"} json, and it is probably also related to how the new webchat and universal speech handle speech for cards. This is what I observed:
I think this is a bug in webchat or speech, they should stick to the Speak property if present and not attempt to read the card. This is the way it used to work with webchat v3. If we do not set the Speak property on the response, other channels won't know how to read the card. |
|
[edit by corinagum]: These repro steps don't address @gabog's problem - his issue is with Speech, not screenreader. Scratching this out for clarity. BackgroundAll rich cards, including thumbnail card, is converted to Adaptive Cards on render. Investigation steps
Expected
|
@corinagum could you investigate with the repro steps above and see if it repro? One thing Gabo pointed out "If the qna answer gets deserialized in the thumbnail card and the Speak property is populated, Speech reads the Speak property AND the text on the card." |
@gabog, are you still having this issue? I am not able to reproduce this on Mock Bot with a Thumbnail card.
If this is an ongoing Cognitive Services issue [edit] |
Hi, below is the repro code: The minimalistic code to generate the card in C# is:
That produces the following json for the activity:
When using speech, the bot will read the text property in the card and the speak property in the activity. It should only read aloud the Speak property if set and never read the Text property in the card. |
Project
Virtual Assistant
Description
When you use speech, QnAMaker responses seem to be read twice when using webchat (this doesn't seem to happen in the emulator)
To Reproduce
Expected behavior
It should only say the response once.
The text was updated successfully, but these errors were encountered: