-
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.
Story structure validation tool (#4968)
Implement the functionality under `rasa data validate stories`
- Loading branch information
Johannes E. M. Mosig
authored
Feb 25, 2020
1 parent
cacdbf6
commit 730fd06
Showing
15 changed files
with
847 additions
and
42 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 @@ | ||
Add story structure validation functionality (e.g. `rasa data validate stories --max-history 5`). |
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,15 @@ | ||
## story 1 | ||
* greet | ||
- utter_greet | ||
* greet | ||
- utter_greet | ||
* greet | ||
- utter_greet | ||
|
||
## story 2 | ||
* default | ||
- utter_greet | ||
* greet | ||
- utter_greet | ||
* greet | ||
- utter_default |
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,14 @@ | ||
## greetings | ||
* greet | ||
- utter_greet | ||
> check_greet | ||
## happy path | ||
> check_greet | ||
* default | ||
- utter_default | ||
|
||
## problem | ||
> check_greet | ||
* default | ||
- utter_goodbye |
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,14 @@ | ||
## greetings | ||
* greet | ||
- utter_greet | ||
> check_greet | ||
## happy path | ||
> check_greet | ||
* default OR greet | ||
- utter_default | ||
|
||
## problem | ||
> check_greet | ||
* greet | ||
- utter_goodbye |
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,17 @@ | ||
## story 1 | ||
* greet | ||
- utter_greet | ||
* greet | ||
- slot{"cuisine": "German"} | ||
- utter_greet | ||
* greet | ||
- utter_greet | ||
|
||
## story 2 | ||
* greet | ||
- utter_greet | ||
* greet | ||
- slot{"cuisine": "German"} | ||
- utter_greet | ||
* greet | ||
- utter_default |
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,16 @@ | ||
## story 1 | ||
* greet | ||
- utter_greet | ||
* greet | ||
- utter_greet | ||
- slot{"cuisine": "German"} | ||
* greet | ||
- utter_greet | ||
|
||
## story 2 | ||
* greet | ||
- utter_greet | ||
* greet | ||
- utter_greet | ||
* greet | ||
- utter_default |
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,22 @@ | ||
## story 1 | ||
* greet | ||
- utter_greet | ||
|
||
## story 2 | ||
* greet | ||
- utter_default | ||
|
||
## story 3 | ||
* greet | ||
- utter_default | ||
* greet | ||
|
||
## story 4 | ||
* greet | ||
- utter_default | ||
* default | ||
|
||
## story 5 | ||
* greet | ||
- utter_default | ||
* goodbye |
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
Oops, something went wrong.