Improve RulePolicy
prediction timings
#8850
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
area:rasa-oss/ml/policies
Issues focused around rasa's dialogue management policies
area:rasa-oss/performance
Issues focused around the performance of `rasa` (e.g.number of handled requests per second)
research:code-improvement
type:enhancement ✨
Additions of new features or changes to existing ones, should be doable in a single PR
Description of Problem:
RulePolicy
predictions are slow. This is especially noticeable during training when we check for contradictions. The reason for this is that we call_rule_key_to_state
a lot when checking if a rule is applicable. For each time we are doing this we are loading the json which is encoding the rule.This is a followup from this issue.
Examples (if relevant):
Definition of Done:
The text was updated successfully, but these errors were encountered: