Error when adding Space Entity Extractor to Rasa configuration

Hi,

I added Spacy to my Rasa configuration to do some entity extraction, after adding the settings to the configuration file I get the error below when I run rasa train, any idea what I’m doing wrong here?

Thanks

line 314, in _validate_run_fn
    raise GraphSchemaValidationException(
rasa.engine.exceptions.GraphSchemaValidationException: Your model uses a component 'SpacyEntityExtractor' which needs the param 'model' to be provided to its method 'process'. Please make sure that you registered your component correctly and and that your model configuration is valid.See https://rasa.com/docs/rasa/custom-graph-components for more information.

And here’s the pipeline I’m using:

pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: char_wb
    min_ngram: 1
    max_ngram: 4
  - name: SpacyEntityExtractor
    dimensions: ["PERSON", "LOC", "ORG", "PRODUCT"]    
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100
  - name: FallbackClassifier
    threshold: 0.3
    ambiguity_threshold: 0.1

@qamir

us missing this or check the model of Spacy

pipeline:
- name: "SpacyNLP"
  # language model to load
  model: "en_core_web_md"

Please follow all the pipelines based on Spacy.

Ref: Components

Tip: Hope you had installed the Spacy in the environment? Installation

I hope this will solve your issue.