Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rasa data validate shows wrong conflicting action name #6691

Closed
JEM-Mosig opened this issue Sep 16, 2020 · 0 comments
Closed

rasa data validate shows wrong conflicting action name #6691

JEM-Mosig opened this issue Sep 16, 2020 · 0 comments
Assignees
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@JEM-Mosig
Copy link
Contributor

Rasa version:
Rasa Version : 2.0.0a5 (commit 30d2af7)
Rasa SDK Version : 2.0.0a5
Rasa X Version : 0.32.0

Rasa SDK version (if used & relevant):

Rasa X version (if used & relevant):

Python version:
Python Version : 3.7.0 (default, Oct 9 2018, 10:31:47)

Operating system (windows, osx, ...):
Operating System : Linux-4.15.0-117-generic-x86_64-with-debian-buster-sid

Issue:
rasa data validate shows wrong conflicting action name. Specifically, if a conflict is present (regardless whether in a story or in a rule), it prints Story structure conflict after action 'action', where the last action should be the name of the action instead of the word "action".

Error:
With stories

- story: happy path
  steps:
  - intent: greet
  - action: utter_greet
  - intent: mood_great
  - action: utter_happy

- story: sad path 1
  steps:
  - intent: greet
  - action: utter_greet
  - intent: mood_unhappy
  - action: utter_cheer_up
  - action: utter_did_that_help
  - intent: affirm
  - action: utter_happy

- story: sad path 2
  steps:
  - intent: greet
  - action: utter_goodbye
  - intent: mood_unhappy
  - action: utter_cheer_up
  - action: utter_did_that_help
  - intent: deny
  - action: utter_goodbye

the wrong output is

rasa.validator  - Story structure conflict after action 'action':
  utter_greet predicted in 'sad path 1' and 'happy path'
  utter_goodbye predicted in 'sad path 2'

Command or request that led to error:

rasa init
# now add a conflicting story, e.g. by replacing a utter_goodbye by a utter_greet
rasa data validate
@JEM-Mosig JEM-Mosig added type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

1 participant