Skip to content

DialogAction

Source code in docs_src/capo_lex_models_v2/types/dialog_action.py
class DialogAction(TypedDict, closed=True):
    type: "capo_lex_models_v2.types.dialog_action_type.DialogActionType"
    """<p>The action that the bot should execute. </p>"""
    slot_to_elicit: NotRequired["capo_lex_models_v2.types.name.Name"]
    """<p>If the dialog action is <code>ElicitSlot</code>, defines the slot to elicit from the user.</p>"""
    suppress_next_message: NotRequired[
        "capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"
    ]
    """<p>When true the next message for the intent is not used.</p>"""

slot_to_elicit instance-attribute

slot_to_elicit: NotRequired[Name]

If the dialog action is ElicitSlot, defines the slot to elicit from the user.

suppress_next_message instance-attribute

suppress_next_message: NotRequired[BoxedBoolean]

When true the next message for the intent is not used.

type instance-attribute

The action that the bot should execute.