Prompt
¶
Used by
-
AsyncLexModelBuildingServiceClient Operations -
LexModelBuildingServiceClient Operations
Source code in docs_src/capo_lex_model_building_service/types/prompt.py
max_attempts
instance-attribute
¶
max_attempts: PromptMaxAttempts
The number of times to prompt the user for information.
messages
instance-attribute
¶
messages: MessageList
An array of objects, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
response_card
instance-attribute
¶
response_card: NotRequired[ResponseCard]
A response card. Amazon Lex uses this prompt at runtime, in the PostText API response. It substitutes session attributes and slot values for placeholders in the response card. For more information, see ex-resp-card.