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 2.0: responses in tests fail #7002

Closed
petasis opened this issue Oct 13, 2020 · 2 comments · Fixed by #7098
Closed

Rasa 2.0: responses in tests fail #7002

petasis opened this issue Oct 13, 2020 · 2 comments · Fixed by #7098
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

@petasis
Copy link

petasis commented Oct 13, 2020

Rasa version:
2.0

Rasa SDK version (if used & relevant):
2.0

Rasa X version (if used & relevant):

Python version:
3.8

Operating system (windows, osx, ...):
Fedora 32

Issue:
rasa tests does not seem to work for responses.
Using a test story like this:

- story: chitchat_el/activities0el01
  steps:
  - user: |
      <some user text>
    intent: chitchat_el/activities0el01
  - action: utter_chitchat_el/activities0el01

raises an error (about chitchat_el/activities0el01 not existing in the domain).
If I use a test story like:

- story: chitchat_el/activities0el01
  steps:
  - user: |
      <some user text>
    intent: chitchat_el
  - action: utter_chitchat_el/activities0el01

all metrics are 0.

Error (including full traceback):


Command or request that led to error:

rasa test

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

@petasis petasis added 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. labels Oct 13, 2020
@dakshvar22
Copy link
Contributor

@petasis Just to confirm, this was raised as a warning and not an error right - about chitchat_el/activities0el01 not existing in the domain?
Also, the command would be rasa test instead of rasa train?

@petasis
Copy link
Author

petasis commented Oct 13, 2020

Yes, it was a warning. And yes, the command is rasa test

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

Successfully merging a pull request may close this issue.

4 participants