Implementing a fallback policy - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
👋 Introducing the Rasa Playground
Implementing a fallback policy
post by vivekgohil on Dec 6, 2019
vivekgohil
hello there , i have implemented a fallback policy but its not working as i am giving a input a random keywords(eg :adsdffff)
- name: TwoStageFallbackPolicy
nlu_threshold: 0.1
core_threshold: 0.1
fallback_nlu_action_name: “utter_default_fallback”
fallback_core_action_name: “utter_default_fallback”
deny_suggestion_intent_name: “inform” - name: AugmentedMemoizationPolicy
max_history: 3
trackback:
engineio.server - 000e75750d1f4c289203a1510bd3aac7: Received packet MESSAGE data 2[“user_uttered”,{“message”:“erreiferfg”,“customData”:{“userId”:“123”},“session_id”:“be9e8967cd304aed88ef6a3b8388e755”}]
2019-12-06 12:08:31 INFO socketio.server - received event “user_uttered” from 000e75750d1f4c289203a1510bd3aac7 [/]
2019-12-06 12:08:31 DEBUG rasa.core.tracker_store - Recreating tracker for id ‘be9e8967cd304aed88ef6a3b8388e755’
2019-12-06 12:08:31 DEBUG rasa.nlu.selectors.embedding_response_selector - Adding following selector key to message property: default
2019-12-06 12:08:31 DEBUG rasa.core.processor - Received user message ‘erreiferfg’ with intent ‘{‘name’: ‘inform’, ‘confidence’: 0.9272807957657245}’ and entities ‘[]’
2019-12-06 12:08:31 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 10 events
2019-12-06 12:08:31 DEBUG rasa.core.policies.two_stage_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.1).
2019-12-06 12:08:31 DEBUG rasa.core.policies.memoization - Current tracker state [{'intent_searchRestaurant': 1.0, 'prev_action_listen': 1.0}, {'intent_searchRestaurant': 1.0, 'prev_utter_ask_location': 1.0}, {'prev_action_listen': 1.0, 'intent_inform': 1.0}]
2019-12-06 12:08:31 DEBUG rasa.core.policies.memoization - Launch DeLorean…
2019-12-06 12:08:31 DEBUG rasa.core.policies.memoization - Current tracker state [None, {}, {'prev_action_listen': 1.0, 'intent_inform': 1.0}]
2019-12-06 12:08:31 DEBUG rasa.core.policies.memoization - There is no memorised next action
2019-12-06 12:08:31 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_EmbeddingPolicy
2019-12-06 12:08:31 DEBUG rasa.core.processor - Predicted next action ‘action_search_restaurants_without_cuisine’ with confidence 0.94.
2019-12-06 12:08:31 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘action_search_restaurants_without_cuisine’
468 views
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| Fallback issues and policy advice | 3 | 1.5k | Jul 2021 |
| Fall back policy is not working | 3 | 1.4k | Aug 2023 |
| 2-Stage Fallback Policy not working | 2 | 876 | Dec 2019 |
| Custom action not working with fallback policy | 3 | 2.1k | Apr 2019 |
| Fallback policy nlu_threshold met when it should not | 9 | 1.6k | Jan 2021 |