-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Entity detection in End to End testing fails when multiple entity extractors both extract the same entity #6712
Comments
Exalate commented: sara-tagger commented: Thanks for the issue, @erohmensing will get back to you about it soon! You may find help in the docs and the forum, too🤗 |
Exalate commented: samsucik commented: Hi @Plurno, could you share your config file (or at least the relevant parts of it)? If you suspect that this is due to 2 extractors extracting the same entity, have you tried disabling one of them (let's say Duckling)? Do you intentionally use both for the |
Exalate commented: carlosmeds commented: Hi there! I had the same issue here and I kind solved it disabling CRFEntityExtractor. I think it has something to do with @samsucik comment. |
➤ Maxime Verger commented: 💡 Heads up! We're moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS. From now on, this Jira board is the place where you can browse (without an account) and create issues (you'll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue! ➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569. |
Rasa version: 1.10.9 Rasa SDK version (if used & relevant):
Rasa X version (if used & relevant):
Python version: 3.7.7 Operating system (windows, osx, ...): Debian GNU/Linux 10 (buster) Issue: Here is an example of an End to End test that I put in my tests/conversation_tests.md file.
greet: hi
action_greet
rewind
ask_book: Are there any books in [french](foreign_language)?
utter_ask_book
When I run rasa test, I get the following result in results/failed_stores.md:
greet: hi
action_greet
rewind
ask_book: Are there any books in [french](foreign_language)? <!-- predicted: ask_book: Are there any books in [french](foreign_language)[french](foreign_language) -->
utter_ask_book
I think what’s happening is that I have two entity extractors (DIETClassifier and CRFEntityExtractor) that are both independently finding the ‘french’ foreign_language entity, so it gets duplicated when the test is run. It's not a huge deal, but it's impacting my CI/CD pipeline a bit.
Thanks
Error (including full traceback):
No runtime error, just a failed line in a failed_stories.md
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):
The text was updated successfully, but these errors were encountered: