I have some intents with entity and lookup tables. Rasa predicts the intent correctly but skips the action that is part of the story and directly jumps to the next action. Is there any issue with the way I am using lookups. Need some help on this.
NLU:
intent:Create_Card
- how to Add a Card
- Create Defects
- Create Issues
- Create Custom Cards
- add card
- assign card to user
- add card
- how can I create a card
- crete a card
- How to adda card
- create a card
- how can I add a card
- tell me how to create a card
- how to create card
- create card
- crete card
- how to create a card
- can I create card
- can I create a card
- add task
Stories:
Create.Card
- Create_Card
- utter_create_card
- utter_ask_feedback
Responses:
utter_create_card:
- text: ‘These are different ways to add cards’
utter_ask_feedback:
- text: Was it helpful?
Here, as you can see from the logs below, * utter_ask_feedback action is predicted and utter_create_card action is skipped:
2021-03-24 21:59:52 DEBUG rasa.core.lock_store - Issuing ticket for conversation 'ba18fd71f9f744d78d85edbb7b00c433'.
2021-03-24 21:59:52 DEBUG rasa.core.lock_store - Acquiring lock for conversation 'ba18fd71f9f744d78d85edbb7b00c433'.
2021-03-24 21:59:52 DEBUG rasa.core.lock_store - Acquired lock for conversation 'ba18fd71f9f744d78d85edbb7b00c433'.
2021-03-24 21:59:52 DEBUG rasa.core.tracker_store - Could not find tracker for conversation ID 'ba18fd71f9f744d78d85edbb7b00c433'.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Starting a new session for conversation ID 'ba18fd71f9f744d78d85edbb7b00c433'.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Action 'action_session_start' ended with events '[<rasa.shared.core.events.SessionStarted object at 0x7f114813bfd0>, <rasa.shared.core.events.ActionExecuted object at 0x7f11481469d0>]'.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Current slot values:
Verbs: None
2021-03-24 21:59:52 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-03-24 21:59:52 DEBUG rasa.nlu.selectors.response_selector - Adding following selector key to message property: default
2021-03-24 21:59:52 DEBUG rasa.core.processor - Received user message 'add card' with intent '{'id': 6599411694379835098, 'name': 'Create_Card', 'confidence': 0.9221572875976562}' and entities '[{'entity': 'Verbs', 'start': 0, 'end': 3, 'confidence_entity': 0.9965433478355408, 'value': 'add', 'extractor': 'DIETClassifier'}]'
2021-03-24 21:59:52 DEBUG rasa.core.processor - Current slot values:
Verbs: add
2021-03-24 21:59:52 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 5 events.
2021-03-24 21:59:52 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: Create_Card | user entities: ('Verbs',) | previous action name: action_listen
2021-03-24 21:59:52 DEBUG rasa.core.policies.memoization - There is no memorised next action
2021-03-24 21:59:52 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: Create_Card | user entities: ('Verbs',) | previous action name: action_listen
2021-03-24 21:59:52 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-03-24 21:59:52 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_1_TEDPolicy.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Predicted next action 'utter_ask_feedback' with confidence 0.65.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Action 'utter_ask_feedback' ended with events '[BotUttered('Was it helpful?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"template_name": "utter_ask_feedback"}, 1616603392.4532661)]'.
2021-03-24 21:59:52 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: Create_Card | user entities: ('Verbs',) | previous action name: action_listen
[state 2] user intent: Create_Card | user entities: ('Verbs',) | previous action name: utter_ask_feedback
2021-03-24 21:59:52 DEBUG rasa.core.policies.memoization - There is no memorised next action
2021-03-24 21:59:52 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: Create_Card | user entities: ('Verbs',) | previous action name: action_listen
[state 2] user intent: Create_Card | user entities: ('Verbs',) | previous action name: utter_ask_feedback
2021-03-24 21:59:52 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-03-24 21:59:52 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_1_TEDPolicy.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-03-24 21:59:52 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'.
2021-03-24 21:59:52 DEBUG rasa.core.lock_store - Deleted lock for conversation 'ba18fd71f9f744d78d85edbb7b00c433'.
Was it helpful?
Why?