-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore rules when validating stories (#7143)
* Ignore rules when validating stories * Fix docs * Update docs/docs/command-line-interface.mdx Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com> * Update docs/docs/command-line-interface.mdx Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com> * Update docs/docs/command-line-interface.mdx Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com> * Add tests * Fix docs * Fix note * Use generate_story_trackers Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>
- Loading branch information
1 parent
a3316ab
commit d37631e
Showing
9 changed files
with
90 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ignore rules when validating stories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Correct data validation docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
data/test_stories/rules_without_stories_and_wrong_names.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
>> rule 1 | ||
- form{"name": "loop_q_form"} <!-- condition that form is active--> | ||
- slot{"requested_slot": "some_slot"} <!-- some condition --> | ||
- ... | ||
* some_intent_that_doesnt_exist{"some_slot":"bla"} <!-- can be ANY --> | ||
- loop_q_form <!-- can be internal core action, can be anything --> | ||
|
||
>> rule 2 | ||
- form{"name": "loop_q_form"} <!-- condition that form is active--> | ||
- slot{"requested_slot": "some_slot"} <!-- some condition --> | ||
- ... | ||
* explain <!-- can be anything --> | ||
- utter_some_action_that_doesnt_exist | ||
- loop_q_form | ||
- form{"name": "loop_q_form"} <!-- condition that form is active--> | ||
|
||
>> rule 3 | ||
- form{"name": "loop_q_form"} <!-- condition that form is active--> | ||
- ... | ||
- loop_q_form <!-- condition that form is active --> | ||
- form{"name": null} | ||
- slot{"requested_slot": null} | ||
- action_stop_q_form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
>> rule 1 | ||
* greet | ||
- utter_noworries | ||
|
||
## ML story 1 | ||
* greet | ||
- utter_greet | ||
* thankyou | ||
- utter_noworries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters