The adaptive cards are not getting spoken. The article that I am following is: https://github.com/microsoft/BotFramework-WebChat/blob/master/docs/SPEECH.md
See original GitHub issue🚨 The issue tracker is not for implementation questions 🚨
[Question]
I have below code snippet added in my DirectLine HTML:
window.WebChat.renderWebChat(
{
directLine: directLine,
userID: user_unique_id, //random guid is acceptable
locale: input_lang,
store: store,
styleOptions: styleOptions,
selectVoice: (voices, activity) => {
if (input_lang === 'en-GB') {
return voices.find(({ name }) => /RyanNeural/iu.test(name));
} else {
return voices.find(({ name }) => /Jessa24kRUS/iu.test(name));
}
},
webSpeechPonyfillFactory
},
document.getElementById("webchat")
);
document.querySelector("#webchat > *").focus();
}
It should ideally also have text-to-speech enabled on BOT and should read out the adaptive cards. This is actually not working. Any help will be appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Solved: Adaptive Card errors in MS Teams "We're sorry, thi...
I have a very simple Adaptive card posting to Teams on Planner Task completion. It was working before I went on holiday and...
Read more >Action.Execute - Schema Explorer | Adaptive Cards
Once most Host apps have updated to the latest version we will update the samples accordingly. Action.Execute. Gathers input fields, merges with optional...
Read more >Microsoft Adaptive Cards – the ultimate guide
Microsoft Adaptive Cards – the ultimate guide. Find out all details about this awesome solution from Microsoft, learn how and when to use ......
Read more >Building with Adaptive Cards? 7 things you need to consider ...
For the first couple years, whether to make an Adaptive Card was a question for people developing with Bot Framework. But recently they...
Read more >Send Adaptive Cards and get responses in Microsoft Teams ...
In the Power Automate flow, just add the action named “Post adaptive card and wait for a response” as below: Use this action...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@corinagum @v-kydela Thank you for the input. Indeed there was some formatting issue. I have updated my JSON, and the adaptive cards are now getting spoken. Thanks for all the input. Closing the ticket.
Sure, @corinagum
@alishajain7 - Go ahead and try Corina’s JSON to see if it works for you