Slot¶
Structure Class¶
Slot
dataclass
¶
A value that Amazon Lex V2 uses to fulfill an intent.
Attributes¶
shape
class-attribute
instance-attribute
¶
shape: Shape | None = None
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.
sub_slots
class-attribute
instance-attribute
¶
sub_slots: dict[str, Slot] | None = None
The constituent sub slots of a composite slot.