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

No warning when EntitySynonymMapper is positioned incorrectly in config.yml #6198

Closed
b-quachtran opened this issue Jul 13, 2020 · 0 comments · Fixed by #6236
Closed

No warning when EntitySynonymMapper is positioned incorrectly in config.yml #6198

b-quachtran opened this issue Jul 13, 2020 · 0 comments · Fixed by #6236
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

@b-quachtran
Copy link
Contributor

Rasa version: 1.10.3

Rasa SDK version (if used & relevant):

Rasa X version (if used & relevant):

Python version: 3.7.7

Operating system (windows, osx, ...): OS X

Issue:

When EntitySynonymMapper is placed above the entity extractor in config.yml, Rasa will train without throwing any warnings when the component doesn't work as expected.

Error (including full traceback):


Command or request that led to error:


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

# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
  - name: EntitySynonymMapper
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
  - name: ResponseSelector
    epochs: 100

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: MemoizationPolicy
  - name: TEDPolicy
    max_history: 5
    epochs: 100
  - name: MappingPolicy

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

@b-quachtran b-quachtran 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 Jul 13, 2020
@b-quachtran b-quachtran changed the title Rasa does not throw an error if EntitySynonymMapper is positioned incorrectly in config.yml No warning when EntitySynonymMapper is positioned incorrectly in config.yml Jul 13, 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

Successfully merging a pull request may close this issue.

1 participant