KeywordIntentClassifier overwride the result of DIETClassifier #11540
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
type:bug 🐛
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Rasa Open Source version
3.2.4
Rasa SDK version
No response
Python version
3.8
What operating system are you using?
OSX
What happened?
I add the KeywordIntentClassifier after DIETClassifier in my config.yml. when i post "good morning" , I expect rasa return
{"intent":"greet","confidence":0.99}. but I get {"intent":"null"}. so I check the code in KeywordIntentClassifier in line 123~132.
The intent_name here may be None ,but the intent here will never be None.so is it better to change it to
if message.get(INTENT) is None or intent_name is not None:
Command / Request
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: