September 3, 2019, 2:06pm
Getting a INFO warning when running training and shell;
rasa.core.policies.ensemble - MappingPolicy not included in policy ensemble.
Default intents 'restart and back will not trigger actions 'action_restart' and 'action_back'.
even though my config.yml looks like:
- name: MappingPolicy
- name: KerasPolicy
Any ideas about why the MappingPolicy is not registered for the
Annoying not being able to restart a conversation within the shell.
September 3, 2019, 2:59pm
@Narogus did you retrain your bot after having added MappingPolicy?
September 4, 2019, 12:28pm
Yes. The warning comes up both during training, and when running the shell.
I have been trying to run Rasa with docker. The Rasa version in the docker container is Rasa 1.3.0a2, found by running:
docker run -v $(pwd):/app rasa/rasa --version
In another local version (Rasa 1.2.7), not running in docker, I’m not experiencing this issue.
September 4, 2019, 12:33pm
Hm, that’s strange, we’ll look into it. However i’d stick to the most recent published version (1.2.7) and not the alpha release, as they can be touchy.
Do you get the same issue is you run 1.2.7 in docker?
September 4, 2019, 12:43pm
No, I haven’t. I’ll try that, and get back to you!
September 4, 2019, 1:32pm
Awesome. Will keep an eye on this when 1.3 gets released! If you experience it again, let us know.
September 6, 2019, 11:48am
The issue is related to the 1.3 release, it started when I updated to it.
September 6, 2019, 12:04pm
Okay, yes I believe this is a bug and I know how to fix it.
@ice2tricky could you create a github issue for this please?
September 17, 2019, 2:13pm
@erohmensing did you fix the bug ?
September 17, 2019, 3:53pm
@noman yes, it was released with 1.3.3
September 18, 2019, 9:52pm
Just want to know one more thing related to Mapping policy. Which is; what are the benefits of Mapping policy and when should we use it?
September 18, 2019, 9:58pm
An example would be really helpful in case of form actions.
Like if the form action is activated and requested slot is “XYZ” but user asked for the time that is mapped to an action ‘action_get_time’ after performing the action and event UtteranceReverted(), how can a bot re-ask the user for the ‘XYZ’ slot?
September 19, 2019, 7:57am
Mhm so if you add the intent that maps to the action to the
not_intent of the slot mappings, it should let the other policies (e.g. mapping) handle the input. then on the next turn the form policy will jump back in again.
September 19, 2019, 8:38am
@erohmensing it was a bouncer i didnt get your comment. Can you please simplify for my understanding please. Thanks
September 19, 2019, 11:22am
Take a look at the form documentation here, it will help you understand my comment
September 19, 2019, 7:33pm
ok i get your comment, but the problem is still there, when the form policy jumps back again, it simply goes into to the action_listen but i want to prompt the user for the slot that he had missed out previously by asking the bot for another intent that was mapped to some other action.