I know that the action policy could be influenced by the intents, entities and the slots values.
But in the case of the entity, does its value influence the decision or does it simply check if the value exists or not ? Here is an example :
Let’s say my user could ask explanation about 3 things words :
explain{“severity”:“mild”}
explain{“severity”:“moderate”}
explain{“severity”:“severe”}
In these cases, I want to respectively trigger :
action_explain_mild
action_explain_moderate
action_explain_severe
Do the values “mild”, “moderate” and “severe” mean something for the featurizer ?
I think what you can do in this case is create a “severity” slot then pick up its value in your customs action through the tracker. You can then check if its value is either mild, moderate or severe and add the appropriate statements in your code.
I agree with you but … I’ve already a severity slot which is set when a user “says” : inform{“severity”:“mild”} … In this case, I want to register the information. I had to set autofill to None and rose an event when the intent “inform” is detected … I guess I will have to do the magic trick inside a custom action.