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

Reduce warnings related to training data format #8214

Closed
Imod7 opened this issue Mar 16, 2021 · 1 comment
Closed

Reduce warnings related to training data format #8214

Imod7 opened this issue Mar 16, 2021 · 1 comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style.

Comments

@Imod7
Copy link
Contributor

Imod7 commented Mar 16, 2021

Operating system (windows, osx, ...): Ubuntu Windows

Issue: This Issue is part of the effort to close the Issue#7738 hence to reduce the amount of warnings that are raised when running all tests in the CI. From a first investigation, there are multiple warnings that are related to how the training data are written so I thought of creating one Issue to address them all. Some of the warnings are listed below but a more detail list can be found in the doc.

Warning (including full traceback):

2021-03-15T14:30:47.5962546Z tests/nlu/test_evaluation.py: 11 warnings 2021-03-15T14:30:47.5970871Z D:\a\rasa\rasa\rasa\shared\utils\io.py:96: UserWarning: You have defined synonyms in your training data, but your NLU pipeline does not include an 'EntitySynonymMapper'. To map synonyms, add an 'EntitySynonymMapper' to your pipeline. 2021-03-15T14:30:47.5972354Z warnings.warn(message, category=category, **kwargs)

Command or request that led to error:

41_Run Tests (test-other-unit-tests, windows-latest, 3.7).txt

Warning (including full traceback):

2021-03-15T14:30:47.4572591Z tests/test_server.py: 7 warnings 2021-03-15T14:30:47.4574472Z D:\a\rasa\rasa\rasa\shared\utils\io.py:96: UserWarning: Found a rule-based policy in your pipeline but no rule-based training data. Please add rule-based stories to your training data or remove the rule-based policy (RulePolicy) from your your pipeline. 2021-03-15T14:30:47.4575652Z warnings.warn(message, category=category, **kwargs)

Command or request that led to error:

41_Run Tests (test-other-unit-tests, windows-latest, 3.7).txt

Warning (including full traceback):

2021-03-15T14:22:35.2087816Z rasa/shared/utils/io.py:96: 2 warnings 2021-03-15T14:22:35.2088517Z tests/core/test_agent.py: 7 warnings 2021-03-15T14:22:35.2089253Z tests/core/test_ensemble.py: 14 warnings 2021-03-15T14:22:35.2090344Z tests/core/test_evaluation.py: 2 warnings 2021-03-15T14:22:35.2091131Z tests/core/test_processor.py: 8 warnings 2021-03-15T14:22:35.2092156Z tests/shared/importers/test_multi_project.py: 1 warning 2021-03-15T14:22:35.2094315Z /home/runner/work/rasa/rasa/rasa/shared/utils/io.py:96: UserWarning: Neither 'RulePolicy' nor 'MappingPolicy' (deprecated) are included in the model's policy configuration. Default intents such as 'restart' and 'back' will not trigger actions 'action_restart' and 'action_back'. 2021-03-15T14:22:35.2096129Z warnings.warn(message, category=category, **kwargs)

Command or request that led to error:

38_Run Tests (test-other-unit-tests, ubuntu-latest, 3.7).txt

Warning (including full traceback):

2021-03-15T14:30:47.5377841Z tests/shared/core/test_slots.py: 21 warnings 2021-03-15T14:30:47.5379160Z D:\a\rasa\rasa\rasa\shared\core\slots.py:293: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the 'influence_conversation' flag for slot 'test' instead. 2021-03-15T14:30:47.5380288Z category=FutureWarning,

Command or request that led to error:

41_Run Tests (test-other-unit-tests, windows-latest, 3.7).txt

Warning of type (including full traceback):

2021-03-15T14:22:42.7334056Z tests/nlu/test_train.py: 11 warnings 2021-03-15T14:22:42.7341150Z /home/runner/work/rasa/rasa/rasa/shared/utils/io.py:96: UserWarning: Your training data contains an example 'What's your name?...' for the chitchat/ask_name intent. You either need to add a response phrase or correct the intent for this example in your training data. If you intend to use Response Selector in the pipeline, the training may fail. 2021-03-15T14:22:42.7342937Z warnings.warn(message, category=category, **kwargs) 2021-03-15T14:22:42.7343429Z 2021-03-15T14:22:42.7347411Z tests/nlu/test_train.py: 11 warnings 2021-03-15T14:22:42.7349662Z /home/runner/work/rasa/rasa/rasa/shared/utils/io.py:96: UserWarning: Your training data contains an example 'What can I call you?...' for the chitchat/ask_name intent. You either need to add a response phrase or correct the intent for this example in your training data. If you intend to use Response Selector in the pipeline, the training may fail. 2021-03-15T14:22:42.7354860Z warnings.warn(message, category=category, **kwargs)

Command or request that led to error:

31_Run Tests (test-full-model-training, ubuntu-latest, 3.6).txt

Definition of Done:

  • The warnings related to the training data format no longer appear.
@Imod7 Imod7 added type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style. area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Mar 16, 2021
@stale
Copy link

stale bot commented Jul 21, 2021

Exalate commented:

stale[bot] commented:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 21, 2021
@rasabot-exalate rasabot-exalate added area:rasa-oss and removed type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style. area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Mar 15, 2022 — with Exalate Issue Sync
@stale stale bot removed the stale label Mar 15, 2022
@m-vdb m-vdb added type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style. area:rasa-oss 🎡 Anything related to the open source Rasa framework and removed type:maintenance labels Mar 16, 2022
@rasabot-exalate rasabot-exalate added area:rasa-oss :ferris wheel: stale and removed type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style. area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Mar 17, 2022 — with Exalate Issue Sync
@stale stale bot removed stale labels Mar 17, 2022
@rasabot-exalate rasabot-exalate added area:rasa-oss 🎡 Anything related to the open source Rasa framework stale type:maintenance_:wrench: and removed type:maintenance labels Mar 17, 2022 — with Exalate Issue Sync
@stale stale bot removed the stale label Mar 17, 2022
@rasabot-exalate rasabot-exalate added type:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style. and removed type:maintenance_:wrench: labels Mar 21, 2022 — with Exalate Issue Sync
@m-vdb m-vdb closed this as completed Dec 6, 2022
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:maintenance 🔧 Improvements to tooling, testing, deployments, infrastructure, code style.
Projects
None yet
Development

No branches or pull requests

3 participants