Hi,
I am trying to collect feedback about some data that is sent to the user upon the user’s request for that data.
The story for collecting the feedback is as below:
int_feedback
utter_askProblem
action_listen
act_understandProblem
In my act_understandProbem, I am taking the user’s latest message and saving it in a slot, but after action_listen, if the user has typed something related to any other intent, act_understandProblem does not execute and instead the action for that particular intent is executed. Or if it does not understand the intent, it goes to fallback. Is there any way I can stop intent recognition from happening and force act_understandProblem to execute immediately after action_listen?
Thanks, I have tried that and I seem to be getting an error that states “Failed to extract slot problem with action feedback_form”. I can’t seem to figure out what’s wrong.
So my utter_ask_problem executes and then I enter a message, then, I get the error saying “Failed to extract slot problem with action feedback_form”. After this, act_confirmProblem executes. In my act_confirmProblem, I am trying to access the slot “problem” using tracker but the slot value shows that it’s none.
Oh okay thank you for the reply. I’m not sure what exactly the intent mapping function does, could you help me understand?
Does this part “self.from_text(intent=None)” mean just take the whole text and store it in the slot?