Check for elements that only work with certain policy/domain combinations.
Persists the policy to storage.
Loads policy and domain specification from storage
Stores the probabilities and the priority of the prediction.
Predicts the next action the bot should take after seeing the tracker.
Picks the best policy prediction based on probabilities and policy priority.
Triggers fallback if
action_listen is predicted after a user utterance.
tracker- the :class:
domain- the :class:
interpreter- Interpreter which may be used by the policies to create additional features.
best_probabilities- the list of probabilities for the next actions
best_policy_name- the name of the picked policy
Exception that can be raised when policy config is not valid.