Hello,
I’m using the default configuration from rasa 2.0 init command.
I have configured a rule to welcome my users, using the frontbot web chat plugin:
rule: welcome user
conversation_start: true
steps:
intent: get_started
action: utter_welcome
In config.yml:
policies:
name: MemoizationPolicy
name: TEDPolicy
max_history: 5
epochs: 100
name: RulePolicy
This is the default story I’m using:
story: sad path 1
steps:
intent: greet
action: utter_greet
intent: mood_unhappy
action: action_joke
action: utter_did_that_help
intent: affirm
action: utter_happy
Once I run in the browser, I see the welcome message, then I respond with “hi”,
In debug mode I see that the " - intent: greet" is running but then I get the:
rasa.core.policies.rule_policy - There is no applicable rule.
So action_joke never fires.
If I run rasa shell in the command line, all works fine.
Hey @saniko, I’ve got a few questions just so I understand you fully:
Once I run in the browser, I see the welcome message
What interface do you mean by “in the browser”? Is this in Rasa X or in some 3rd-party interface (you mention you use a plugin…). Secondly, what do you mean by “welcome message”? Do you mean the response defined for utter_welcome?
" - intent: greet" is running but then I get the: rasa.core.policies.rule_policy - There is no applicable rule. So action_joke never fires.
Sorry, here you lost me. What is the exact sequence of intents and responses here? From your story I can’t easily see how action_joke relates to the greet intent…
However, I still don’t fully understand the context: There was an issue related to RulePolicy that would only surface in some browser interface but not in rasa shell, right? What interface are we talking about? My guess is that it must have been something with the interface breaking things, but I also want to make sure that it isn’t some bug inside Rasa that could remain unfixed. As for your fix, you say you removed * name: RulePolicy from the config. What is the meaning of the * here? And after removing that, do you still have RulePolicy in your config, or did you remove it altogether? Because if you have some rules, you will surely need RulePolicy…
I have configured the widget property for activating the initial message to the user, initPayload: “/get_started” and configured the related rule under rules.yml file:
rule: welcome user
conversation_start: true # this rule only applies at the beginning of a conversation
steps:
intent: get_started
action: utter_welcome
For some reason, the bot got stuck after the initial greeting until I removed the RulePolicy
Hi @saniko, could you share the full traceback when you ran Rasa in debug mode and saw the rasa.core.policies.rule_policy - There is no applicable rule message?
@saniko I saw that you mentioned this log message in the original post. What happens when you train with the RulePolicy configured and test using Botfront?
Hi Ben,
I have tested this again with the RulePolicy, and it seems to work fine now,
I know it sounded crazy but it didn’t yesterday and I did get the rasa.core.policies.rule_policy - There is no applicable rule message in the terminal.
I will continue developing this bot and if I will see it again, I will report.