Can I change user_id for an existing session? #1813
Unanswered
comlhj1114
asked this question in
Q&A
Replies: 1 comment
-
As far as I understand, you should be able to call the REST API for your deployed agent and fully control the sessions and user ids. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my use case, when a guest starts a session, a random UID is generated for both user_id and session_id (I will control the user_id, while the session_id will be generated by the agent engine).
After a few turns, if the user decides to sign up, I want to associate the existing conversation with the new user_id that the user just created.
In this case, is it possible to update the user_id associated with an existing session_id from the temporary UID to the newly created user_id?
Or should I manually copy all events from the existing session to a new session tied to the new user_id?
Beta Was this translation helpful? Give feedback.
All reactions