Error in using 'EmbeddingIntentClassifier' for multiple intent case

I am trying to use multiple intent classifier as described in - Rasa multiple intent

However, rasa throws an error -

> InvalidConfigException: Can't load class for name 'EmbeddingIntentClassifier'. Please make sure to provide a valid name or module path and to register it using the '@DefaultV1Recipe.register' decorator.

My rasa installation details are -

* > Rasa Version      :         3.0.1
* > Minimum Compatible Version: 3.0.0
* > Rasa SDK Version  :         3.0.1
* > Rasa X Version    :         None
* > Python Version    :         3.7.11
* > Operating System  :         Linux-5.11.0-41-generic-x86_64-with-debian-bullseye-sid
* > Python Path       :         /home/armuser/anaconda3/envs/botenv/bin/python

Please help find a solution to this issue.

@sandeeppandey456 I hope you mentioned this recipe: default.v1 in config.yml and can you share your config.yml file?

config.yml (1.6 KB)

Yes i have added that in config.yml. Still the same error

@sandeeppandey456 Right, the issue is you are using “EmbeddingIntentClassifier” which deprecated.

The Embedding Intent Classifier is now deprecated and will be replaced by DIETClassifier in the future.

The deprecated EmbeddingIntentClassifier has been removed. If you used this component in your pipeline configuration (config.yml ) you can replace it with DIETClassifier and which you are using already. It accepts the same configuration parameters. Ref: Version Migration Guide

Tip: Just search the keyword “EmbeddingIntentClassifier” in the above ref link. As, I can see you using Rasa3 so, I’d recommend please follow the updated pipeline and policy for the same.

What was your previous version before migrating to rasa3?

I hope this will solve your issue ad good luck.

2 Likes

Yes. Thank you. The issue is solved now.

@sandeeppandey456 Great, can I request you to please close this thread as a solution for other readers and for your own reference. Thanks.