Story structure analysis #4088
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
area:rasa-x/backend 🎩
All issues focused on the Rasa X backend
type:enhancement ✨
Additions of new features or changes to existing ones, should be doable in a single PR
Description of Problem:
Stories might be inconsistent with one another. E.g. when story 1 is A > B > C, and story 2 is A > B > X, and C and X are bot actions, then rasa core would now know what to learn. Presently, it is hard to identify such history branches in large story files.
Overview of the Solution:
I wrote the
story_tree.py
script that solves this problem: https://github.com/RasaHQ/research/blob/master/report_multiWOZ/multiwoz/scripts/story_tree.py (private repo). This issue is about integrating it into rasa, so it can be called to check for inconsistencies withrasa test core
, and perhaps also be called for statistics / deleting duplicate stories / exploring the story tree.Examples (if relevant):
These stories are inconsistent:
Blockers (if relevant):
Definition of Done:
The text was updated successfully, but these errors were encountered: