I try to setup fallback action to my bot where I use forms
Here is Config
-
name: “FallbackPolicy”
nlu_threshold: 0.45
core_threshold: 0.3
fallback_action_name: “action_default_fallback”
Here is in Domain Responses section
utter_default:
- text: En tiedä mitä tarkoitat
and here is Stories
'## fallback
- utter_default
and this is happens in bot, it finds out that confidence is lower, but nothing happens, in continues the form
2020-08-06 17:13:44 DEBUG rasa.core.processor - Received user message ‘höpötihöp’ with intent ‘{‘name’: ‘juu_vastaus’, ‘confidence’: 0.3854063749313354}’ and entities ‘[]’ 2020-08-06 17:13:44 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 22 events. 2020-08-06 17:13:44 DEBUG rasa.core.policies.memoization - Current tracker state [None, {}, {‘intent_aloita’: 1.0, ‘prev_action_listen’: 1.0}, {‘prev_kysely_form’: 1.0, ‘intent_aloita’: 1.0, ‘active_form_kysely_form’: 1.0}, {‘prev_action_listen’: 1.0, ‘intent_juu_vastaus’: 1.0, ‘active_form_kysely_form’: 1.0}] 2020-08-06 17:13:44 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-08-06 17:13:44 DEBUG rasa.core.policies.form_policy - There is an active form ‘kysely_form’
2020-08-06 17:13:44 DEBUG rasa.core.policies.fallback - NLU confidence 0.3854063749313354 is lower than NLU threshold 0.45.
2020-08-06 17:13:44 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_FormPolicy 2020-08-06 17:13:44 DEBUG rasa.core.processor - Predicted next action ‘kysely_form’ with confidence 1.00. 2020-08-06 17:13:44 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘kysely_form’.