When adding first user message Rasa is incorrectly pushing two `action_listen` events to tracker
See original GitHub issueRasa version: 1.6.1 Rasa SDK version (if used & relevant):
Rasa X version (if used & relevant):
Python version:
3.6.9
Operating system (windows, osx, …):
Ubuntu 19.10
Issue:
When adding first user message Rasa is incorrectly pushing two action_listen event to tracker, which results in predicting ActionDefaultFallback instead of proper action defined in conversation. Error occurs when using tracker store different than InMemoryTrackerStore.
Full tracker of that conversation:
{
"_id" : ObjectId("5e1d829fc0f0571179a05a68"),
"sender_id" : "internal_6ded90eb-1713-4cc0-bb94-e44f10906aa9",
"active_form" : {},
"events" : [
{
"event" : "action",
"timestamp" : 1578992287.49245,
"name" : "action_session_start",
"policy" : null,
"confidence" : null
},
{
"event" : "session_started",
"timestamp" : 1578992287.49247
},
{
"event" : "action",
"timestamp" : 1578992287.49251,
"name" : "action_listen",
"policy" : null,
"confidence" : null
},
{
"event" : "action",
"timestamp" : 1578992287.49251,
"name" : "action_listen",
"policy" : null,
"confidence" : null
},
{
"event" : "user",
"timestamp" : 1578992287.49483,
"text" : "hej",
"parse_data" : {
"intent" : {
"name" : "greet",
"confidence" : 0.9904693961
},
"intent_ranking" : [
{
"name" : "greet",
"confidence" : 0.9904693961
},
{
"name" : "wypowiedzenie_polisy",
"confidence" : 0.0028299373
},
{
"name" : "lista",
"confidence" : 0.0022578358
},
{
"name" : "your_name",
"confidence" : 0.0019035154
},
{
"name" : "intencja_8",
"confidence" : 0.0013759891
},
{
"name" : "inform",
"confidence" : 0.0004938081
},
{
"name" : "goodbye",
"confidence" : 0.0004290111
},
{
"name" : "stop",
"confidence" : 0.000240524
}
],
"entities" : [],
"text" : "hej",
"disablesBot" : false,
"originalText" : "hej",
"intentId" : "5d131175239ef4004bae057f"
},
"input_channel" : null,
"message_id" : "e78661e26cc9411f823dbd02d1421caf",
"metadata" : {}
},
{
"event" : "action",
"timestamp" : 1578992287.79463,
"name" : "action_default_fallback",
"policy" : "policy_2_FallbackPolicy",
"confidence" : 0.3
},
{
"event" : "bot",
"timestamp" : 1578992287.79464,
"metadata" : {
"attachments" : []
},
"text" : null,
"data" : {
"elements" : [],
"quick_replies" : null,
"buttons" : null,
"attachment" : null,
"image" : null,
"custom" : null
}
},
{
"event" : "rewind",
"timestamp" : 1578992287.79464
}
],
"followup_action" : null,
"latest_action_name" : "action_listen",
"latest_event_time" : 1578992287.79464,
"latest_input_channel" : null,
"latest_message" : {
"intent" : {},
"entities" : [],
"text" : null,
"message_id" : null,
"metadata" : {}
},
"paused" : false,
"slots" : {
"form_state" : null,
"imie" : null,
"nazwisko" : null,
"requested_slot" : null,
"system" : null,
"zonaty" : null
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
When adding first user message Rasa is incorrectly pushing ...
Issue: When adding first user message Rasa is incorrectly pushing two action_listen event to tracker, which results in predicting ActionDefaultFallback instead ...
Read more >Events - Rasa
Not all events are typically returned by custom actions since they are tracked automatically by Rasa (e.g. user messages).
Read more >How to use the rasa.core.events.ActionExecuted function in rasa
To help you get started, we've selected a few rasa.core.events. ... add SlotSet event tracker.update(SlotSet("slot", "value")) # add the two SessionStarted ...
Read more >Untitled
#Hope Saenger theater new orleans hotels, Mini cooper chilli pack ... Limon viejo tulua, Lg twin wash do two things at once, Add...
Read more >Untitled
A rocket to the moon like we used to chords, Triplett 9045 user manual. #rcz Simon camden 7 a la maison? Piscine charenton...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

cc @ricwo this is what I mentioned in the
rasa exportPRI was able to reproduce this, on
mastercommit 4211b92b029:To reproduce:
rasa init --no-promptendpoints.ymlrasa shelltracker.dbMy
endpoints.ymlfile: