AI-102 · Question #252
You are building a chatbot by using Microsoft Bot Framework Composer. You need to configure the chatbot to present a list of available options. The solution must ensure that an image is provided for…
The correct answer is D. an adaptive card E. a dialog. To present a list of options with accompanying images in a Bot Framework Composer chatbot, you should use an adaptive card within a dialog.
Question
Options
- Aan entity
- Ban Azure function
- Can utterance
- Dan adaptive card
- Ea dialog
How the community answered
(42 responses)- A5% (2)
- B2% (1)
- C7% (3)
- D86% (36)
Why each option
To present a list of options with accompanying images in a Bot Framework Composer chatbot, you should use an adaptive card within a dialog.
An entity is used for extracting specific information from user input, not for displaying structured output to the user.
An Azure function can provide backend logic or data, but it doesn't directly handle the UI presentation of options within the bot conversation.
An utterance is user input to the bot, not a method for the bot to present options with images.
Adaptive Cards are platform-agnostic UI snippets that bots can use to display rich content, including images and multiple choices, making them ideal for presenting a list of options with associated images.
A dialog defines the conversation flow of a bot, and it's within a dialog where you would implement the logic to present the adaptive card containing the options to the user.
Concept tested: Bot Framework Composer UI with Adaptive Cards and Dialogs
Source: https://learn.microsoft.com/en-us/composer/how-to-send-cards
Topics
Community Discussion
No community discussion yet for this question.