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