-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error initializing graph component #163
Comments
Thanks for the issue, @mvielkind will get back to you about it soon! You may find help in the docs and the forum, too 🤗 |
This feels related to RasaHQ/rasa-3.x-component-examples#5. Will dive in. |
This was an issue with documentation, super sorry! This was my bad. The docs still had the old version listed from Rasa 2.0. The new version no longer uses lookups but uses a |
Hi,
I also attach my countries.txt file |
Could you give the full traceback including the commands that you ran before the error appeared? |
Could you give the traceback when starting |
I attach the output as a file because it is very long |
Thanks, the relevant part is:
|
There seems to be an encoding error in the file you're trying to read in to your custom component. It's assuming cp1252, is that correct? |
Based on the error you pointed out, I think the problem is in that the country names in the file have special characters and can't be read with this If I execute Is it possible to add the encoding as an argument to the extractor? Thank you! :) |
That makes sense to me! Do you want to open a PR for it? |
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:
I have also added to my nlu file a lookup table with some countries, I add the start below as an example:
When using the command
rasa train
it trains a model and saves it in the models folder but when usingrasa shell
orrasa 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'..
The text was updated successfully, but these errors were encountered: