Intent correct but showing action_default_fallback when calling a query form

@desmarchris

Here is my story and rule files …rules.yml (4.6 KB) stories.yml (328 Bytes)

@Abhinav can you show the config file?

config.yml (1.8 KB) Yes here it is. @nik202

@desmarchris

@Abhinav do you see the same behavior locally? If so, can you run rasa shell --debug and paste the full traceback after triggering your query intent?

Your input → Write Query
2021-06-28 19:46:33 DEBUG rasa.core.lock_store - Issuing ticket for conversation ‘ac1b9ee286864bba964fc84d6caba9f9’. 2021-06-28 19:46:33 DEBUG rasa.core.lock_store - Acquiring lock for conversation ‘ac1b9ee286864bba964fc84d6caba9f9’. 2021-06-28 19:46:33 DEBUG rasa.core.lock_store - Acquired lock for conversation ‘ac1b9ee286864bba964fc84d6caba9f9’. 2021-06-28 19:46:33 DEBUG rasa.core.tracker_store - Recreating tracker for id ‘ac1b9ee286864bba964fc84d6caba9f9’ 2021-06-28 19:46:33 DEBUG rasa.nlu.classifiers.diet_classifier - There is no trained model for ‘ResponseSelector’: The component is either not trained or didn’t receive enough training data. 2021-06-28 19:46:33 DEBUG rasa.nlu.selectors.response_selector - Adding following selector key to message property: default 2021-06-28 19:46:33 DEBUG rasa.core.processor - Received user message ‘Write Query’ with intent ‘{‘id’: 512684834699716763, ‘name’: ‘query’, ‘confidence’: 0.989776074886322}’ and entities ‘[]’ 2021-06-28 19:46:33 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 48 events. 2021-06-28 19:46:33 DEBUG rasa.core.policies.rule_policy - Current tracker state: [state 1] user intent: greet | previous action name: action_listen [state 2] user intent: greet | previous action name: utter_greet [state 3] user intent: greet | previous action name: utter_contact [state 4] user intent: greet | previous action name: info_form [state 5] user intent: greet | previous action name: action_firstAction [state 6] user intent: support_related | previous action name: action_listen [state 7] user intent: support_related | previous action name: action_support_related [state 8] user text: Write Query | previous action name: action_listen 2021-06-28 19:46:33 DEBUG rasa.core.policies.rule_policy - There is no applicable rule. 2021-06-28 19:46:33 DEBUG rasa.core.policies.rule_policy - Current tracker state: [state 1] user intent: greet | previous action name: action_listen [state 2] user intent: greet | previous action name: utter_greet [state 3] user intent: greet | previous action name: utter_contact [state 4] user intent: greet | previous action name: info_form [state 5] user intent: greet | previous action name: action_firstAction [state 6] user intent: support_related | previous action name: action_listen [state 7] user intent: support_related | previous action name: action_support_related [state 8] user intent: query | previous action name: action_listen 2021-06-28 19:46:33 DEBUG rasa.core.policies.rule_policy - There is no applicable rule. 2021-06-28 19:46:33 DEBUG rasa.core.policies.memoization - Current tracker state: [state 1] user intent: greet | previous action name: action_listen [state 2] user intent: greet | previous action name: utter_greet [state 3] user intent: greet | previous action name: utter_contact [state 4] user intent: query | previous action name: info_form 2021-06-28 19:46:33 DEBUG rasa.core.policies.memoization - There is no memorised next action 2021-06-28 19:46:33 DEBUG rasa.core.policies.ted_policy - TED predicted ‘action_listen’ based on user intent. 2021-06-28 19:46:33 DEBUG rasa.core.policies.ensemble - Made prediction using user intent. 2021-06-28 19:46:33 DEBUG rasa.core.policies.ensemble - Added DefinePrevUserUtteredFeaturization(False) event. 2021-06-28 19:46:33 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_RulePolicy. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Predicted next action ‘action_default_fallback’ with confidence 0.30. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Policy prediction ended with events ‘[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f158e3bdf40>]’. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Action ‘action_default_fallback’ ended with events ‘[<rasa.shared.core.events.UserUtteranceReverted object at 0x7f158e3c4040>]’. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Current slot values: mailid: abhi@gmail.com username: abhi phonenumber: +8384858867 queryy: None requested_slot: None session_started_metadata: None 2021-06-28 19:46:33 DEBUG rasa.core.policies.rule_policy - Current tracker state: [state 1] user intent: greet | previous action name: action_listen [state 2] user intent: greet | previous action name: utter_greet [state 3] user intent: greet | previous action name: utter_contact [state 4] user intent: greet | previous action name: info_form [state 5] user intent: greet | previous action name: action_firstAction [state 6] user intent: support_related | previous action name: action_listen [state 7] user intent: support_related | previous action name: action_support_related 2021-06-28 19:46:33 DEBUG rasa.core.policies.rule_policy - There is a rule for the next action ‘action_listen’. 2021-06-28 19:46:33 DEBUG rasa.core.policies.memoization - Current tracker state: [state 1] user intent: greet | previous action name: action_listen [state 2] user intent: greet | previous action name: utter_greet [state 3] user intent: greet | previous action name: utter_contact [state 4] user intent: greet | previous action name: info_form 2021-06-28 19:46:33 DEBUG rasa.core.policies.memoization - There is no memorised next action 2021-06-28 19:46:33 DEBUG rasa.core.policies.ted_policy - TED predicted ‘action_listen’ based on user intent. 2021-06-28 19:46:33 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_RulePolicy. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Predicted next action ‘action_listen’ with confidence 1.00. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Policy prediction ended with events ‘[]’. 2021-06-28 19:46:33 DEBUG rasa.core.processor - Action ‘action_listen’ ended with events ‘[]’. 2021-06-28 19:46:33 DEBUG rasa.core.lock_store - Deleted lock for conversation ‘ac1b9ee286864bba964fc84d6caba9f9’. @desmarchris

looks like TED/memoization isn’t matching your story. Can you try writing your form activation as a rule with that intent rather than a story?

Ok i will try that.