Hi, I have configured the RASA session config value in the domain, so I’ts giving me response when session got timed out, but if session is not time out, it continue to the next event. I want something which can check the session timeout status and response in O(1) time so that I can decide what should be my next step.
I’ts giving me response when session got timed out
Not sure what you mean by this. There is no event that fires on the timeout.
To monitor session timeout, you would have to do this external from Rasa by accessing the tracker store and reviewing conversations. You might create a action_start_session
custom action which writes the session id and timestamp to a file and have an external process that wakes up periodically, reads this file and reviews the tracker to see if the sessions have expired.