Skip to content

SlotDefaultValueSpec

Source code in docs_src/capo_lex_model_building_service/types/slot_default_value_spec.py
class SlotDefaultValueSpec(TypedDict, closed=True):
    default_value_list: "capo_lex_model_building_service.types.slot_default_value_list.SlotDefaultValueList"
    """<p>The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.</p> <p>The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.</p>"""

default_value_list instance-attribute

default_value_list: SlotDefaultValueList

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.