-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fallback Policy always falls back #5356
Comments
Thank you for spotting it. I think, it happens because your fallback action is rasa/rasa/core/policies/fallback.py Line 147 in 449f8c6
action_listen after action_listen which is caught by ensemble to predict fallback action...
|
I think this check should be fixed with |
yeah I can do that, seems like an easy fix. Thanks for pointing me in the right direction :) |
@Ghostvv What do you mean by debug statement? (I'm reviewing the PR, it fixes the check but doesn't add anything else) |
inside this rasa/rasa/core/policies/fallback.py Line 109 in 1c627fe
|
It doesn't predict itself anymore though, or does it? |
it will predict action_listen if fallback_action_name is not action_listen. Then, it'd be good to have a debug statement, smth like "Predicted 'action_listen' after fallback action '{fallback_action_name}'" |
I am facing the issue. can any help ? |
Is there any specific env variable or config.yml should be set to solve this error. |
My feedback.py is still as below if tracker.latest_action_name == self.fallback_action_name:
this does not have latest changes happened 20 days ago. Please suggest. |
did you pull the latest changes? How do you have Rasa installed? you would have to pull from master as this probably hasnt made its way to release yet |
looking at release notes it should be in version 1.9.+ of rasa |
I did pip install rasa. this will not pull from latest and I see my version is : (Rasa-Virtual-Env) m.srinivasan@ATTACHCREDITTONE Rasa-Virtual-Env % rasa --version is this right version ? |
DomAmato I have built another virtual environment and pulled from source. (venv) m.srinivasan@ATTACHCREDITTONE venv % rasa --version master branch. I am still facing this issue. |
any help |
Sounds like something isnt right with the package uploaded to pypi. You might want to create a new issue for this as even though you are experiencing the same issue its likely for a different reason. |
Sir, I have spent several hours to make this work. Built a separate virtual instance (Ubuntu 18.x) in Vmware fusion. the issue still persists I have created a bug |
I have the same issue, not always, specifically when after the first use of the complete form follows same chichat for example. No news for this? |
@ClaudioVictorSpinelli The issues that posters here were facing have been resolved. |
Rasa version: 1.8.0
Rasa SDK version (if used & relevant): not used
Rasa X version (if used & relevant): not used
Python version: 3.6.10
Operating system (windows, osx, ...): Docker
Issue:
Rasa is always using the fallback action no matter the confidence level in the predicted intent. In the logs below you can see it predicts the greet intent with a 0.9965264201164246 confidence but still falls back.
Here is the greet story:
Error (including full traceback):
Content of configuration file (config.yml) (if relevant):
domain.yml
The text was updated successfully, but these errors were encountered: