rasa: Rasa test/rasa test core can't find any intent in domain
Rasa version: 2.3.4 Rasa SDK version (if used & relevant): 2.3.1 Rasa X version (if used & relevant):
Python version:
3.8.8
Operating system (windows, osx, …):
Linux-4.4.0-186-generic-x86_64-with-glibc2.10
Issue:
This is annoying. There is no error in training and testing manually, but rasa test/rasa test core can’t find any intent in domain.
Error (including full traceback): Found intent ‘xxxx’ in stories which is not part of the domain.
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'how_can_i_help_you' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'tell_what_we_have' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'ask_color' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'ask_quantity' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'tell_total_charge' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'greet' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'mood_great' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'goodbye' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'mood_unhappy' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'affirm' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'deny' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
/h/haotian/.conda/envs/rasa/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Issue found in '/tmp/tmp3z0di4sm/0441e511624c4c069bf1b3cf0526e1b4_test_stories.yml':
Found intent 'bot_challenge' in stories which is not part of the domain.
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):
version: "2.0"
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- how_can_i_help_you
- what_do_you_need
- tell_what_we_have
- tell_no_eraser
- ask_color
- ask_quantity
- tell_total_charge
responses:
utter_buy_eraser:
- text: "I want to buy erasers."
utter_buy_pencils:
- text: "OK, then I will buy some pencils."
utter_buy_red_pencils:
- text: "I would like some red pencils."
utter_buy_ten_pencils:
- text: "I want 10 pencils."
utter_how_much:
- text: "How much are they?"
utter_pay:
- text: "Great. Here is the money."
utter_greet:
- text: "Hey! How are you?"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Goodbye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 19 (2 by maintainers)
Also encountering this when the domain contents are in the
/datadirectory. Forum user reported this also.It’s not solved yet, we have a pull request under review at the moment 😃
Hi @m-vdb
I encounter the same issue even with
rasa initproject.story:
warnings:
tried didn’t work
thanks for following-up and adding more details to the issue 👍🏻 we’ll take care of prioritising it!
Hello,
We also have this issue when testing our stories with a rasa test core --stories <stories_folder>, plus an issue at the end of the test :
The command used was :
rasa test core --stories tests_resources/test_stories.This happens with the 2.4.3 version of rasa. Any news on this issue ?