Skip to content

IntentOverride

Source code in docs_src/capo_lex_models_v2/types/intent_override.py
class IntentOverride(TypedDict, closed=True):
    name: NotRequired["capo_lex_models_v2.types.name.Name"]
    """<p>The name of the intent. Only required when you're switching intents.</p>"""
    slots: NotRequired[
        "capo_lex_models_v2.types.slot_value_override_map.SlotValueOverrideMap"
    ]
    """<p>A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.</p>"""

name instance-attribute

name: NotRequired[Name]

The name of the intent. Only required when you're switching intents.

slots instance-attribute

slots: NotRequired[SlotValueOverrideMap]

A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.