AI-102 · Question #255
You are building a bot by using Microsoft Bot Framework. You need to configure the bot to respond to spoken requests. The solution must minimize development effort. What should you do?
The correct answer is B. Integrate the bot with Cortana by using the Bot Framework SDK. To enable a bot to respond to spoken requests with minimal development effort, integrating it with a pre-existing voice assistant channel like Cortana (when available) would simplify the speech-to-text and text-to-speech setup.
Question
Options
- ADeploy the bot to Azure and register the bot with a Direct Line Speech channel.
- BIntegrate the bot with Cortana by using the Bot Framework SDK.
- CCreate an Azure function that will call the Speech service and connect the bot to the function.
- DDeploy the bot to Azure and register the bot with a Microsoft Teams channel.
How the community answered
(20 responses)- A10% (2)
- B70% (14)
- C15% (3)
- D5% (1)
Why each option
To enable a bot to respond to spoken requests with minimal development effort, integrating it with a pre-existing voice assistant channel like Cortana (when available) would simplify the speech-to-text and text-to-speech setup.
While Direct Line Speech offers robust voice capabilities, it typically requires more development effort to integrate the client-side SDK into custom applications, which doesn't align with minimizing development effort.
Integrating a bot with Cortana via the Bot Framework SDK provides a ready-made channel for handling spoken requests, leveraging Cortana's built-in speech capabilities. This approach minimizes development effort compared to building custom speech integration, as the Bot Framework channel abstracts much of the underlying speech processing complexities.
Creating an Azure function to call the Speech service and connect it to the bot introduces additional custom development and management overhead, increasing effort.
Microsoft Teams supports text and some voice/video calls, but it's not primarily a channel for generic voice-driven bot interactions in a way that inherently minimizes effort for spoken requests compared to a dedicated voice assistant channel.
Concept tested: Bot Framework channels for voice and effort
Topics
Community Discussion
No community discussion yet for this question.