Class: Aws::LexModelsV2::Types::UtteranceBotResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::UtteranceBotResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexmodelsv2/types.rb
Overview
An object that contains a response to the utterance from the bot.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content ⇒ String
The text of the response to the utterance from the bot.
-
#content_type ⇒ String
The type of the response.
-
#image_response_card ⇒ Types::ImageResponseCard
A card that is shown to the user by a messaging platform.
Instance Attribute Details
#content ⇒ String
The text of the response to the utterance from the bot.
15655 15656 15657 15658 15659 15660 15661 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 15655 class UtteranceBotResponse < Struct.new( :content, :content_type, :image_response_card) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
The type of the response. The following values are possible:
-
‘PlainText` – A plain text string.
-
‘CustomPayload` – A response string that you can customize to include data or metadata for your application.
-
‘SSML` – A string that includes Speech Synthesis Markup Language to customize the audio response.
-
‘ImageResponseCard` – An image with buttons that the customer can select. See [ImageResponseCard] for more information.
[1]: docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_ImageResponseCard.html
15655 15656 15657 15658 15659 15660 15661 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 15655 class UtteranceBotResponse < Struct.new( :content, :content_type, :image_response_card) SENSITIVE = [] include Aws::Structure end |
#image_response_card ⇒ Types::ImageResponseCard
A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.
15655 15656 15657 15658 15659 15660 15661 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 15655 class UtteranceBotResponse < Struct.new( :content, :content_type, :image_response_card) SENSITIVE = [] include Aws::Structure end |