Skip to content

SlotValueOverride

Source code in docs_src/capo_lex_models_v2/types/slot_value_override.py
class SlotValueOverride(TypedDict, closed=True):
    shape: NotRequired["capo_lex_models_v2.types.slot_shape.SlotShape"]
    """<p>When the shape value is <code>List</code>, it indicates that the <code>values</code> field contains a list of slot values. When the value is <code>Scalar</code>, it indicates that the <code>value</code> field contains a single value.</p>"""
    value: NotRequired["capo_lex_models_v2.types.slot_value.SlotValue"]
    """<p>The current value of the slot.</p>"""
    values: NotRequired["capo_lex_models_v2.types.slot_values.SlotValues"]
    """<p>A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."</p>"""

shape instance-attribute

shape: NotRequired[SlotShape]

When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

value instance-attribute

value: NotRequired[SlotValue]

The current value of the slot.

values instance-attribute

values: NotRequired[SlotValues]

A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."