-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Hi,
I am developing a bot with rasa and I wanted to include the component rasa_nlu_examples.extractors.FlashTextEntityExtractor.
I have added it to my configuration file which is as follows:
recipe: default.v1
language: es
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: rasa_nlu_examples.extractors.FlashTextEntityExtractor
case_sensitive: True
- name: DIETClassifier
epochs: 100
constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.2
ambiguity_threshold: 0.01
policies:
- name: MemoizationPolicy
- name: RulePolicy
- name: TEDPolicy
max_history: 5
epochs: 100
constrain_similarities: true
I have also added to my nlu file a lookup table with some countries, I add the start below as an example:
version: '3.0'
nlu:
- lookup: pais
examples: |
- Afganistán
- Åland
- Albania
- Alemania
- Andorra
When using the command rasa train it trains a model and saves it in the models folder but when using rasa shell or rasa interactive it gives me the following error:
ERROR rasa.core.agent - Could not load model due to Error initializing graph component for node 'run_rasa_nlu_examples.extractors.FlashTextEntityExtractor5'..
Versions:
Windows 11
rasa==3.0.4
rasa-nlu-examples @ git+https://github.com/RasaHQ/rasa-nlu-examples@c762a7ebcaef23220b20280db2546415a5b1622e
Metadata
Metadata
Assignees
Labels
No labels