I want to capture the user feedback (when user clicks smileys that are present on every bot response)
and update the same in the DB.
The user can click on any number of the smileys present on every bot response during the conversation
The main criteria is to capture this information. At the moment, I am thinking that I need to match the DB row accurately and update the feedback to it. I can use this later for EDA, etc.
The problem is how do I identify the row precisely in DB?
And does RASA dump user input after each and every input or after a certain period of time?
All the things that have happened in the course of a conversation are stored in the tracker store. If you want to access specific events from it, you can use the SDK to access and update specific data.
As for how long the tracker store lasts, it depends on how you’re storing it. By default it will save all the events that happen as long as your server is running.
But how do you actually identify the event ID that corresponds to a message? Let’s say that there are multiple users that send messages to the chatbot, which means that the event IDs are not sequential for a user X, so you can’t really infer the event ID just by knowing the event ID of user X’s last message + 1. So how can we do this?