Exception that can be raised when rules are not valid.
Policy which handles all the rules
The type of data supported by this policy.
The data type supported by this policy (ML and rule data).
Featurizerwhich is used to convert conversation states to features.
priority- Priority of the policy which is used if multiple policies predict actions with the same confidence.
lookup- Lookup table which is used to pick matching rules for a conversation state.
core_fallback_threshold- Confidence of the prediction if no rule matched and de-facto threshold for a core fallback.
core_fallback_action_name- Name of the action which should be predicted if no rule matched.
core_fallback_action_nameis predicted in case no rule matched.
Truerules are restricted to contain a maximum of 1 user message. This is used to avoid that users build a state machine using the rules.
check_for_contradictions- Check for contradictions.
Trains the policy on given training trackers.
training_trackers- The list of the trackers.
domain- The domain.
interpreter- Interpreter which can be used by the polices for featurization.
Predicts the next action (see parent class for more information).
Gets the slots and loops that are used only in rule data.
Slots and loops that are used only in rule data.