Skip to content

SlotDefaultValue

Source code in docs_src/capo_lex_model_building_service/types/slot_default_value.py
class SlotDefaultValue(TypedDict, closed=True):
    default_value: "capo_lex_model_building_service.types.slot_default_value_string.SlotDefaultValueString"
    """<p>The default value for the slot. You can specify one of the following:</p> <ul> <li> <p> <code>#context-name.slot-name</code> - The slot value "slot-name" in the context "context-name."</p> </li> <li> <p> <code>{attribute}</code> - The slot value of the session attribute "attribute."</p> </li> <li> <p> <code>'value'</code> - The discrete value "value."</p> </li> </ul>"""

default_value instance-attribute

default_value: SlotDefaultValueString

The default value for the slot. You can specify one of the following:

  • #context-name.slot-name - The slot value "slot-name" in the context "context-name."

  • {attribute} - The slot value of the session attribute "attribute."

  • 'value' - The discrete value "value."