Session Management


(Neha Sheikh) #1

How exactly bot session is managed?
Is bot session initiated at the time I access bot?
And how it differentiates between two users accessing same bot?

Detailed reference would help.


(Neha Sheikh) #2

Anything on this?
It will be helpful.

Thanks,
Neha Sheikh


(Subrahmanyam Donepudi) #3

@nehamsheikh, A bot session is the conversation a unique user had with a bot over a period of time. So even for the same bot as the users accessing the bot are different, the session will be separate for the users.

Here’s how the session is calculated. The calculation of the session is based on the idle time of user with the bot. Assume, user had a conversation with the bot for 10 mins and then idle for 15 mins. Later on the 16th min, user dropped a message again to the bot. The conversation user had from the 1st min to the 10th min will be treated as a session.

Even in the case, user didn’t send message to the bot after the 15 mins idle time, a scheduler on the platform which runs daily at regular intervals would look up for conversations which are idle for more than 15 mins and convert them to sessions.


(Neha Sheikh) #4

Can we customize the session timeout for Bot?
I need to match it with my application’s timeout.


(Subrahmanyam Donepudi) #5

No, the way sessions are created is managed by Kore.ai platform itself and this is not configurable by the developers.