AI-102 · Question #269
You have a Speech resource and a bot that was built by using the Microsoft Bot Framework Composer. You need to add support for speech-based channels to the bot. Which three actions should you…
The correct answer is A. Configure the language and voice settings for the Speech resource. B. Add the endpoint and key of the Speech resource to the bot. E. Add Speech to the bot responses. To enable speech-based channels for a Bot Framework Composer bot, you must configure the associated Speech resource, connect the bot to the resource using its credentials, and integrate speech into the bot's responses.
Question
Options
- AConfigure the language and voice settings for the Speech resource.
- BAdd the endpoint and key of the Speech resource to the bot.
- CAdd language understanding to dialogs.
- DAdd Orchestrator to the bot.
- EAdd Speech to the bot responses.
- FRemove the setSpeak configuration.
How the community answered
(20 responses)- A75% (15)
- C15% (3)
- D5% (1)
- F5% (1)
Why each option
To enable speech-based channels for a Bot Framework Composer bot, you must configure the associated Speech resource, connect the bot to the resource using its credentials, and integrate speech into the bot's responses.
Configuring the language and voice settings for the Speech resource is essential as it dictates the specific language for speech recognition and the voice used for speech synthesis, enabling the service to process and generate speech correctly for the bot. This setup ensures the Speech service operates in the desired linguistic context for the bot's speech-based interactions.
Adding the endpoint and key of the Speech resource to the bot is critical because these credentials are required for the bot to authenticate and establish a connection with the Azure AI Speech service. Without proper authentication, the bot cannot utilize the Speech resource's capabilities for speech-to-text or text-to-speech functionalities.
Adding language understanding to dialogs helps the bot interpret the meaning of text input, but it is not a direct action for enabling the underlying speech input/output mechanics of speech-based channels.
Orchestrator is a routing component for directing user utterances to multiple skills or language models, not for enabling basic speech input or output capabilities.
Adding Speech to the bot responses involves incorporating Speech Synthesis Markup Language (SSML) or similar configurations so that the bot's text responses are converted into spoken audio by the Speech service. This allows the bot to 'speak' its replies through speech-enabled channels, providing the auditory output necessary for speech-based interactions.
Removing the `setSpeak` configuration would disable the bot's ability to produce speech output, directly contradicting the goal of adding speech support to the bot.
Concept tested: Integrating Azure AI Speech with Bot Framework
Source: https://learn.microsoft.com/en-us/composer/how-to-add-speech
Topics
Community Discussion
No community discussion yet for this question.