PromptSpecification
¶
Source code in docs_src/capo_lex_models_v2/types/prompt_specification.py
allow_interrupt
instance-attribute
¶
allow_interrupt: NotRequired[BoxedBoolean]
Indicates whether the user can interrupt a speech prompt from the bot.
max_retries
instance-attribute
¶
max_retries: PromptMaxRetries
The maximum number of times the bot tries to elicit a response from the user using this prompt.
message_groups
instance-attribute
¶
message_groups: MessageGroupsList
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
message_selection_strategy
instance-attribute
¶
message_selection_strategy: NotRequired[MessageSelectionStrategy]
Indicates how a message is selected from a message group among retries.
prompt_attempts_specification
instance-attribute
¶
prompt_attempts_specification: NotRequired[PromptAttemptsSpecificationMap]
Specifies the advanced settings on each attempt of the prompt.