Slot Conditions#
Provides slot-related conditions.
- class SlotsExtracted(*slots, mode='all')[source]#
Bases:
BaseConditionCheck if
slotsare extracted.- Parameters:
mode (
Literal['any','all']) – Whether to check if all slots are extracted or any slot is extracted.
- slots: List[SlotName]#
Names of the slots that need to be checked.
- mode: Literal['any', 'all']#
Whether to check if all slots are extracted or any slot is extracted.