Hello,
I correctly manage to run my actions with rasa run actions
as you can see here:
I have this very simple story:
which works fine if instead of the action I put an utterance.
Also the action is very simple:
However, when I send the intent Restaurant-Inform (while using rasa shell
), the bot doesn’t respond. Here is the log:
2022-11-02 11:53:51 DEBUG rasa.core.processor - Received user message 'i want i
ndian restaurant' with intent '{'name': 'Restaurant-Inform', 'confidence': 1.0}' an
d entities '[{'entity': 'Restaurant-Food', 'start': 7, 'end': 13, 'confidence_entit
y': 0.9996483325958252, 'value': 'indian', 'extractor': 'DIETClassifier'}]'
2022-11-02 11:53:51 DEBUG rasa.core.processor - Current slot values:
Restaurant-Food: None
session_started_metadata: None
2022-11-02 11:53:51 DEBUG rasa.core.processor - Logged UserUtterance - tracker
now has 4 events.
2022-11-02 11:53:51 DEBUG rasa.core.actions.action - Validating extracted slots
: Restaurant-Food
2022-11-02 11:53:51 DEBUG rasa.core.processor - Default action 'action_extract_
slots' was executed, resulting in 1 events: SlotSet(key: Restaurant-Food, value: in
dian)
2022-11-02 11:53:51 DEBUG rasa.engine.runner.dask - Running graph with inputs:
{'__tracker__': <rasa.shared.core.trackers.DialogueStateTracker object at 0x7f8e2d1
96d00>}, targets: ['select_prediction'] and ExecutionContext(model_id='7c946fa641a0
4dc6945645369eddf3e8', should_add_diagnostic_data=False, is_finetuning=False, node_
name=None).
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'rule_only_data_provider' ru
nning 'RuleOnlyDataProvider.provide'.
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'domain_provider' running 'D
omainProvider.provide_inference'.
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'run_MemoizationPolicy0' running 'MemoizationPolicy.predict_action_probabilities'.
2022-11-02 11:53:51 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: Restaurant-Inform | user entities: ('Restaurant-Food',) | previous action name: action_listen | slots: {'Restaurant-Food': (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)}
2022-11-02 11:53:51 DEBUG rasa.core.policies.memoization - There is no memorised next action
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'run_RulePolicy1' running 'RulePolicy.predict_action_probabilities'.
2022-11-02 11:53:51 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user text: i want indian restaurant | previous action name: action_listen | slots: {'Restaurant-Food': (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)}
2022-11-02 11:53:51 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2022-11-02 11:53:51 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: Restaurant-Inform | user entities: ('Restaurant-Food',) | previous action name: action_listen | slots: {'Restaurant-Food': (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)}
2022-11-02 11:53:51 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'run_TEDPolicy3' running 'TEDPolicy.predict_action_probabilities'.
2022-11-02 11:53:51 DEBUG rasa.core.policies.ted_policy - TED predicted 'utter_Restaurant-Inform' based on user intent.
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'run_UnexpecTEDIntentPolicy2' running 'UnexpecTEDIntentPolicy.predict_action_probabilities'.
2022-11-02 11:53:51 DEBUG rasa.core.policies.unexpected_intent_policy - Querying for intent `Restaurant-Inform`.
2022-11-02 11:53:51 DEBUG rasa.core.policies.unexpected_intent_policy - Score for intent `Restaurant-Inform` is `2.277017116546631`, while threshold is `-1.3020671606063843`.
2022-11-02 11:53:51 DEBUG rasa.core.policies.unexpected_intent_policy - Top 5 intents (in ascending order) that are likely here are: `[('back', -2.0061145), ('session_start', -1.9034787), ('nlu_fallback', -1.880803), ('restart', -1.4171946), ('Restaurant-Inform', 2.277017)]`.
2022-11-02 11:53:51 DEBUG rasa.engine.graph - Node 'select_prediction' running 'DefaultPolicyPredictionEnsemble.combine_predictions_from_kwargs'.
2022-11-02 11:53:51 DEBUG rasa.core.policies.ensemble - Made prediction using user intent.
2022-11-02 11:53:51 DEBUG rasa.core.policies.ensemble - Added `DefinePrevUserUtteredFeaturization(False)` event.
2022-11-02 11:53:51 DEBUG rasa.core.policies.ensemble - Predicted next action using RulePolicy.
2022-11-02 11:53:51 DEBUG rasa.core.processor - Predicted next action 'action_default_fallback' with confidence 0.30.
2022-11-02 11:53:51 DEBUG rasa.core.processor - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f8e2cf94250>]'.
2022-11-02 11:53:51 DEBUG rasa.core.processor - Action 'action_default_fallback' ended with events '[<rasa.shared.core.events.UserUtteranceReverted object at 0x7f8e2d14a5b0>]'.
2022-11-02 11:53:51 DEBUG rasa.core.processor - Current slot values:
Restaurant-Food: None
session_started_metadata: None
2022-11-02 11:53:51 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2022-11-02 11:53:51 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2022-11-02 11:53:51 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'.
2022-11-02 11:53:51 DEBUG rasa.core.lock_store - Deleted lock for conversation '12d2a23dc42544e8a7d41e3b91feaf38'.