sh-4.2$ rasa train
/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/rasa/shared/nlu/training_data/formats/markdown.py:56: FutureWarning: NLU data in Markdown format is deprecated and will be removed in Rasa Open Source 3.0.0. Please convert your Markdown NLU data to the new YAML training data format.
docs=DOCS_URL_MIGRATION_GUIDE_MD_DEPRECATION,
2021-08-16 09:39:58 INFO rasa.model - Data (core-config) for Core model section changed.
2021-08-16 09:39:58 INFO rasa.model - Data (nlu-config) for NLU model section changed.
2021-08-16 09:39:58 INFO rasa.model - Data (nlg) for NLG responses section changed.
Training NLU model…
InvalidConfigException: The pipeline configuration contains errors. The component ‘FallbackClassifier’ requires ‘IntentClassifier’ to be placed before it in the pipeline. Please add the required components to the pipeline.
My config.yml is as below -
language: en
pipeline:
– name: FallbackClassifier
threshold: 0.7
policies:
– name: RulePolicy
I don’t know what I need to change to fix the issue. Please advise. Thanks in advance.
For FallbackClassifier, you especially need DIET. DIET is what finds your intents and entities. Without something that classifies the intents, how can you fallback on them?