Skip to content

FollowUpPrompt

Source code in docs_src/capo_lex_model_building_service/types/follow_up_prompt.py
class FollowUpPrompt(TypedDict, closed=True):
    prompt: "capo_lex_model_building_service.types.prompt.Prompt"
    """<p>Prompts for information from the user. </p>"""
    rejection_statement: "capo_lex_model_building_service.types.statement.Statement"
    """<p>If the user answers "no" to the question defined in the <code>prompt</code> field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. </p>"""

prompt instance-attribute

prompt: Prompt

Prompts for information from the user.

rejection_statement instance-attribute

rejection_statement: Statement

If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.