ImportError: Cannot retrieve class from path nlp_spacy

  • Python and pip verison - 20.3.3
  • are you using anaconda -Yes
  • output of rasa --version - 2.2.10
  • python version - 3.6.8
  • config.yml file -

language: en

version: “2.0”


# No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.

# If you’d like to customize it, uncomment and adjust the pipeline.

# See Tuning Your NLU Model for more information.

  • name: nlp_spacy

  • name: tokenizer_spacy

  • name: intent_entity_featurizer_regex

  • name: intent_featurizer_spacy

  • name: ner_crf # NER CRF requires you to train it to recognize specific words

  • name: ner_spacy # Spacy comes with pre-trained database that you can use directly

  • name: ner_synonyms

  • name: intent_classifier_sklearn

Solved this error with the help from official documentation.