Greetings!
I’ve been looking through the forums, and documentation, and can’t solve a problem I’m having with slots. I have a slot (and entity) called profile. It’s categorical, and has 3 values: super, standard and anonimous. I don’t have an initial value (so a /restart puts null in the slot.
According to the profile, rasa should show different answers, so I have something like this in my stories.md:
## support_view-all-ads-super
* support_view-all-ads
- slot{"profile":"super"}
- utter_support-all-ads-super
## support_view-all-adds-standard
* support_view-all-ads
- slot{"profile":"standard"}
- utter_support-all-ads-standard
## support_view_all_ads_anonimous
* support_view-all-ads
- slot{"profile":"anonimous"}
- utter_support-all-ads-anonimous
These work ok… I have them in separete “##” blocks otherwise I get multiple responses to the same intent.
I also have stories that don’t use a profile, that should respond with the same answer irrespective to profile:
## thanks
* support_thanks
- utter_you-are-welcome
Even if I define the intent in my domain with { use_entities: None } or { use_entities: false }, I still get dropped back into fallback if I run /support_thanks. The debug shows that the intent is correcltly picked up, but if profile has a value, I get:
DEBUG rasa.core.policies.memoization - Current tracker state [{'prev_action_listen': 1.0, 'slot_profile_0': 1.0, 'intent_thanks': 1.0}]
DEBUG rasa.core.policies.memoization - There is no memorised next action
DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, 'support_thanks'
DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_FallbackPolicy
The only case in which the “thanks” story works is if profile slot is null.
This seems to be related to the size of the stories file… It works for smaller files, but with a file size of around 32K I get the problem, I can have a stories.md and by adding a single simple story, it breaks the whole thing. Has anybody run accross this?
Also, I couldn’t find in the documentation that I needed to have an entity that matches the slot, but if I don’t, I get a warning that ‘entity_profile’ (value: ‘1.0’) was not found in the feature map. Is this correct?