Why story is not working?

Hi all,

I cannot figure out why a specific intent partially fails. I want my bot to answer simple weather questions. In nlu.md I have:

intent:search_weather

In stories.md, I have:

Weather Search

  • search_weather
    • action_search_weather

My stories validate: rasa data validate stories --max-history 3 INFO rasa.validator - No story structure conflicts found.

However, in rasa shell:

Your input -> Τι καιρό κάνει στην Σαντορίνη
2020-05-25 10:17:51 DEBUG rasa.core.tracker_store - Creating a new tracker for id ‘62b1701602264e5fb85281bd9a4f826f’. 2020-05-25 10:17:51 DEBUG rasa.core.processor - Starting a new session for conversation ID ‘62b1701602264e5fb85281bd9a4f826f’. 2020-05-25 10:17:51 DEBUG rasa.core.processor - Action ‘action_session_start’ ended with events ‘[<rasa.core.events.SessionStarted object at 0x7f096c7838d0>, <rasa.core.events.ActionExecuted object at 0x7f09740d9b10>]’. 2020-05-25 10:17:51 DEBUG rasa.core.processor - Current slot values: city: None requested_slot: None 2020-05-25 10:17:52 DEBUG rasa.nlu.selectors.response_selector - Adding following selector key to message property: default 2020-05-25 10:17:52 DEBUG rasa.core.processor - Received user message ‘Τι καιρό κάνει στην Σαντορίνη’ with intent ‘{‘name’: ‘search_weather’, ‘confidence’: 0.9992855787277222}’ and entities ‘[{‘entity’: ‘city’, ‘start’: 20, ‘end’: 29, ‘value’: ‘Σαντορίνη’, ‘extractor’: ‘DIETClassifier’}]’ 2020-05-25 10:17:52 DEBUG rasa.core.processor - Current slot values: city: Σαντορίνη requested_slot: None 2020-05-25 10:17:52 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 5 events. 2020-05-25 10:17:52 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘prev_action_listen’: 1.0, ‘intent_search_weather’: 1.0, ‘entity_city’: 1.0}] 2020-05-25 10:17:52 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-05-25 10:17:52 DEBUG rasa.core.policies.form_policy - There is no active form 2020-05-25 10:17:52 DEBUG rasa.core.policies.fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-05-25 10:17:52 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_4_FallbackPolicy 2020-05-25 10:17:52 DEBUG rasa.core.processor - Predicted next action ‘action_default_fallback’ with confidence 0.30. 2020-05-25 10:17:52 DEBUG rasa.core.processor - Action ‘action_default_fallback’ ended with events ‘[BotUttered(‘Συγνώμη, δεν γνωρίζω την απάντηση για αυτή την ερώτηση. \U0001F61E’, {“elements”: null, “quick_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {}, 1590391072.440603), <rasa.core.events.UserUtteranceReverted object at 0x7f096c783510>]’. 2020-05-25 10:17:52 DEBUG rasa.core.processor - Current slot values: city: None requested_slot: None 2020-05-25 10:17:52 DEBUG rasa.core.processor - Predicted next action ‘action_listen’ with confidence 1.00. 2020-05-25 10:17:52 DEBUG rasa.core.processor - Action ‘action_listen’ ended with events ‘[]’. 2020-05-25 10:17:52 DEBUG rasa.core.lock_store - Deleted lock for conversation ‘62b1701602264e5fb85281bd9a4f826f’. Συγνώμη, δεν γνωρίζω την απάντηση για αυτή την ερώτηση. \U0001F61E

It looks like you have a fallback policy active. Does it work if you turn this off?

I am not sure this is a solution. What I am trying now is removing the story, and adding a "{triggers: } in the indent definition (domain.yml). I a couple of hours (after training completes) I will test again if it works.

So you turned off the fallback policy and the problem persisted?