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

NLG responses not found during NLU pipeline comparison #5201

Closed
indam23 opened this issue Feb 7, 2020 · 0 comments · Fixed by #5294
Closed

NLG responses not found during NLU pipeline comparison #5201

indam23 opened this issue Feb 7, 2020 · 0 comments · Fixed by #5294
Assignees
Labels
type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@indam23
Copy link
Contributor

indam23 commented Feb 7, 2020

Rasa version: 1.7.0

Python version: 3.7

Operating system (windows, osx, ...): MacOS

Issue: When running NLU pipeline comparison with a pipeline including the ResponseSelector, NLG responses are not found and training fails. Encountered using rasa-demo repo. This happens because NLG responses are not persisted along with NLU training data after data percentage split.

Error (including full traceback):

2020-02-06 20:43:22 INFO     rasa.nlu.test  - Evaluating configuration 'config' with 25%_exclusion training data.
2020-02-07 07:49:06 WARNING  rasa.nlu.test  - Training model 'config' failed. Error: No response phrases found for out_of_scope/other. Check training data files for a possible wrong intent name in NLU/NLG file

Command or request that led to error:

rasa test nlu --config configs # where configs is a directory of configs

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

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

language: en
pipeline:
- name: WhitespaceTokenizer
- name: CRFEntityExtractor
- name: CountVectorsFeaturizer
  OOV_token: oov
  token_pattern: (?u)\b\w+\b
- name: CountVectorsFeaturizer
  analyzer: char_wb
  min_ngram: 1
  max_ngram: 4
- name: EmbeddingIntentClassifier
  epochs: 50
  ranking_length: 5
- name: DucklingHTTPExtractor
  url: http://localhost:8000
  dimensions:
  - email
  - number
  - amount-of-money
- name: EntitySynonymMapper
- name: ResponseSelector
  retrieval_intent: out_of_scope
@indam23 indam23 added the type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. label Feb 7, 2020
@indam23 indam23 self-assigned this Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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