Rasa repeats the same utterance for 4 times at once

I trained nlu and two stories. I tried to test my first story. first action is ok (greeting) but it skipped the second action, and it repeated the third action for four times at once. Can you help to understand the problem? Thank you

Welcome. I am Eva, your personal job assistant. Thak you for your interest. How can I help you today?
Your input ->  i need a job                                                                                                                                          
2020-09-16 09:47:54 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation '44630e913eea4081907f0ff8e732967e'.
2020-09-16 09:47:54 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation '44630e913eea4081907f0ff8e732967e'.
2020-09-16 09:47:54 DEBUG    rasa.core.lock_store  - Acquired lock for conversation '44630e913eea4081907f0ff8e732967e'.
2020-09-16 09:47:54 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '44630e913eea4081907f0ff8e732967e'
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Received user message 'i need a job' with intent '{'name': 'search_for_job', 'confidence': 0.9971126317977905}' and entities '[{'entity': 'category', 'start': 9, 'end': 12, 'value': 'job', 'extractor': 'DIETClassifier'}]'
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 8 events.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, {}, {'intent_greet': 1.0, 'prev_action_listen': 1.0}, {'intent_greet': 1.0, 'prev_utter_how_can_i_help': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_listen': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_phone_number' with confidence 0.51.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'utter_ask_phone_number' ended with events '[BotUttered('Can you please provide me with your phone number, so that a recruiter can contact you?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1600267680.451045)]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{}, {'intent_greet': 1.0, 'prev_action_listen': 1.0}, {'intent_greet': 1.0, 'prev_utter_how_can_i_help': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_listen': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'action_revert_fallback_events' with confidence 0.22.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'action_revert_fallback_events' ended with events '[]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'intent_greet': 1.0, 'prev_action_listen': 1.0}, {'intent_greet': 1.0, 'prev_utter_how_can_i_help': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_listen': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_phone_number' with confidence 0.31.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'utter_ask_phone_number' ended with events '[BotUttered('Can you please provide me with your phone number, so that a recruiter can contact you?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1600267680.496715)]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'intent_greet': 1.0, 'prev_utter_how_can_i_help': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_listen': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'action_revert_fallback_events' with confidence 0.22.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'action_revert_fallback_events' ended with events '[]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_listen': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_phone_number' with confidence 0.30.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'utter_ask_phone_number' ended with events '[BotUttered('Can you please provide me with your phone number, so that a recruiter can contact you?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1600267680.539101)]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'action_revert_fallback_events' with confidence 0.22.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'action_revert_fallback_events' ended with events '[]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_phone_number' with confidence 0.30.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'utter_ask_phone_number' ended with events '[BotUttered('Can you please provide me with your phone number, so that a recruiter can contact you?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1600267680.576958)]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'action_revert_fallback_events' with confidence 0.22.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'action_revert_fallback_events' ended with events '[]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'utter_ask_phone_number' with confidence 0.30.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'utter_ask_phone_number' ended with events '[BotUttered('Can you please provide me with your phone number, so that a recruiter can contact you?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1600267680.629715)]'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_action_revert_fallback_events': 1.0}, {'entity_category': 1.0, 'intent_search_for_job': 1.0, 'prev_utter_ask_phone_number': 1.0}]
2020-09-16 09:48:00 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2020-09-16 09:48:00 DEBUG    rasa.core.policies.mapping_policy  - There is no mapped action for the predicted intent, 'search_for_job'.
2020-09-16 09:48:00 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Predicted next action 'action_revert_fallback_events' with confidence 0.22.
2020-09-16 09:48:00 DEBUG    rasa.core.processor  - Action 'action_revert_fallback_events' ended with events '[]'.
2020-09-16 09:48:00 WARNING  rasa.core.processor  - Circuit breaker tripped. Stopped predicting more actions for sender '44630e913eea4081907f0ff8e732967e'.
2020-09-16 09:48:00 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '44630e913eea4081907f0ff8e732967e'.
Can you please provide me with your phone number, so that a recruiter can contact you?
Can you please provide me with your phone number, so that a recruiter can contact you?
Can you please provide me with your phone number, so that a recruiter can contact you?
Can you please provide me with your phone number, so that a recruiter can contact you?
Can you please provide me with your phone number, so that a recruiter can contact you?

Hi @huseyinyilmaz01. My first question would be how does your training data look like - how many training stories do you have? Any chance you could share it here?

Hi Juste, I have 3 stories. I added additional examples and tried many times. problem solved after I introduced more examples with exact same entity values.

But I surprised by the situation, I mean, I can understand that I didn’t introduce enough data, so Rasa couldn’t predict the next action, but why it reacts with multiple responses. Shouldn’t it respond with a single response unless the developer triggers an option for that?

1 Like