rhasspy / rhasspy-rasa-nlu-hermes

MQTT service for natural language understanding in Rhasspy using Rasa NLU with the Hermes protocol
MIT License
3 stars 3 forks source link

Getting error with the latest-spacy-en tag #6

Open digitalfiz opened 4 years ago

digitalfiz commented 4 years ago
TrainingFailedException: Internal Server Error: An unexpected error occurred during training. Error: You are using a pipeline template. All pipelines templates have been removed in 2.0. Please add the components you want to use directly to your configuration file. https://rasa.com/docs/rasa/migration-guide/

It seems to work fine if you pin it to say 1.10.9-spacy-en. So this plugin may need some work because of 2.0 changes.

synesthesiam commented 3 years ago

I haven't kept up with Rasa myself. Maybe @daniele-athome has an idea?

daniele-athome commented 3 years ago

It seems that pipeline templates were deprecated in 1.8 and removed in 2.0. Rhasspy uses a pipeline template only when a user-provided Rasa configuration file is not provided by the user. Just create your configuration file according to Rasa documentation and set the filename in your Rhasspy profile. That should work, I can't speak for API compatibility though...