def base_slots(self) -> List[Slot]: return [ ListSlot(name=find_objects_action.SLOT_FOUND_OBJECT_NAMES, ), TextSlot(name=find_objects_action.SLOT_OBJECT_NAME_OR_TYPE), TextSlot(name=get_object_info.SLOT_OBJECT_ATTRIBUTE), FloatSlot(name="number", max_value=100, influence_conversation=False), ]
def create_slot(self, mappings: List[Dict[Text, Any]], influence_conversation: bool = False) -> Slot: return FloatSlot("test", mappings=mappings, influence_conversation=influence_conversation)
def create_slot(self, influence_conversation: bool = False) -> Slot: return FloatSlot("test", influence_conversation=influence_conversation)
def create_slot(self): return FloatSlot("test")