dialogy.types.slots package¶
Module contents¶
Type definition for Slots. Read Intent and Slot Filling for details.
- class Slot(*, name, types=NOTHING, values=NOTHING)[source]¶
Bases:
object
Slot Type
Keys are: - name of the slot - type is a list of types that can fill this slot - values list of entities extracted
- json()[source]¶
Convert the object to a dictionary.
- Returns:
Dict[str, Any]
- Return type
Dict
[str
,Any
]
- name: str¶
- types: List[str]¶
- values: List[dialogy.types.entity.base_entity.BaseEntity]¶