I have the following story:
- story: sad path 1
steps:
- intent: mood_unhappy
- action: utter_looking_up
- action: action_joke
- action: utter_appreciate
- action: utter_did_that_help
- intent: affirm
- action: utter_happy
It runs successfully the first time, but only executes the first action every time after. It looks like this:
Your input -> I feel bad
Hang on a sec. Let me see if I can find something...
The best time on a clock is 6:30--hands down.
Gets me everytime!
Did that help you any?
Your input -> yes
Awesome! đź‘Ť
Your input -> I feel bad
One sec... looking something up...
Your input -> I feel bad
Going to go check the internet. brb
Your input ->
What do I need to do to get it to go through the story every time?
Here are some of the logs from debug mode. On the top it goes through the story as expected. For the log after, it stops after the first action. In the last log it looks like it’s recreating the tracker. I don’t know why it’s doing this or if it is the issue here.
Completely through story
Your input -> I feel bad
2021-10-21 09:13:04 DEBUG rasa.core.lock_store - Issuing ticket for conversation '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:13:04 DEBUG rasa.core.lock_store - Acquiring lock for conversation '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:13:04 DEBUG rasa.core.lock_store - Acquired lock for conversation '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:13:04 DEBUG rasa.core.tracker_store - Could not find tracker for conversation ID '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:13:04 DEBUG rasa.core.processor - Starting a new session for conversation ID '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:13:04 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-10-21 09:13:04 DEBUG rasa.core.processor - Action 'action_session_start' ended with events '[<rasa.shared.core.events.SessionStarted object at 0x7f60faa17df0>, ActionExecuted(action: action_listen, policy: None, confidence: None)]'.
2021-10-21 09:13:04 DEBUG rasa.core.processor - Current slot values:
weather_city: None
weather_state: None
requested_slot: None
session_started_metadata: None
2021-10-21 09:13:04 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-10-21 09:13:04 DEBUG rasa.nlu.selectors.response_selector - Adding following selector key to message property: default
2021-10-21 09:13:04 DEBUG
Stops after first action
Your input -> I feel bad
2021-10-21 09:14:54 DEBUG rasa.core.lock_store - Issuing ticket for conversation '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:14:54 DEBUG rasa.core.lock_store - Acquiring lock for conversation '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:14:54 DEBUG rasa.core.lock_store - Acquired lock for conversation '9cbdc9e57d4e42a49adeb121ef6c7fc8'.
2021-10-21 09:14:54 DEBUG rasa.core.tracker_store - Recreating tracker for id '9cbdc9e57d4e42a49adeb121ef6c7fc8'
2021-10-21 09:14:54 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-10-21 09:14:54 DEBUG rasa.nlu.selectors.response_selector - Adding following selector key to message property: default
2021-10-21 09:14:54 DEBUG rasa.core.processor - Received user message 'dammit' with intent '{'id': 9196021786858848384, 'name': 'mood_unhappy', 'confidence': 1.0}' and entities '[]'
2021-10-21 09:14:54 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 24 events.
2021-10-21 09:14:54 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 0] user intent: deny | previous action name: action_listen
[state 1] user intent: deny | previous action name: utter_aplogy
[state 2] user intent: deny | previous action name: utter_preamble
[state 3] user intent: deny | previous action name: utter_excuse
[state 4] user intent: mood_unhappy | previous action name: action_listen