server icon indicating copy to clipboard operation
server copied to clipboard

Allow multiple chat sessions for same user in different tabs for guidance engine

Open renehonig opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. The current implementation of the guidance engine can only handle one chatbot session per user. If a user would have multiple alkemio tabs open and interact with the chatbot in more than one session, the guidance engine would mix the results from both sessions.

Furthermore, there is no timeout on an ongoing chatbot session, This means that if a user user the chatbot and return after some time (this can be days), the chatbot will act as if there is an onging conversation, whilst the user most probably assumes this is a 'fresh' session.

Describe the solution you'd like As a user I want to be able to use the chatbot from different browser tabs and I want my chatbot sessions reset when i open the chatbot window.

Describe alternatives you've considered Keep as is and set a time based timeout on the chatbot session.

Additional context The easkiest solution might be to use a session-id instead of the user id for calls to the guidance engine and to send a reset when the session windows is opened.

renehonig avatar Jan 25 '24 12:01 renehonig

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Jan 25 '24 12:01 welcome[bot]