Hello everyone, I configured my file to use SpacyNLP, I downloaded the model I needed as well. See my pipline configuration below:
pipeline:
- name: SpacyNLP
model: en_core_web_md
case_sensitive: False
- name: SpacyTokenizer
- name: SpacyFeaturizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
constrain_similarities: true
- name: SpacyEntityExtractor
dimensions: ["PERSON", "LOC", "ORG"]
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.3
ambiguity_threshold: 0.1
But I keep getting this error:
raise GraphSchemaValidationException(
rasa.engine.exceptions.GraphSchemaValidationException: Your model uses a component 'SpacyNLP' 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.
This is the rasa version that I am using:
Base: DeclarativeMeta = declarative_base()
Rasa Version : 3.5.10
Minimum Compatible Version: 3.5.0
Rasa SDK Version : 3.5.1
Python Version : 3.10.0
Operating System : Windows-10-10.0.19045-SP0
Python Path : C:\Users\****\repo\rasa_bot\my_venv\Scripts\python.exe
I have searched for solutions online but nothing seems to work. I will appreciate any help that I can get please. Thank you