Can I set up multiple SessionIDs?

Original Discord Post by fdorike | 2024-05-12 01:22:49

What I want to do is set multiple SESSION IDs and recall multiple previous conversations.
Due to game reasons, I am running ‘Reset Conversation’ after every update, causing it to not remember conversations before the update.
The game is not being reset.
Is it possible for me to recall past conversations before the game ends?
If it’s not possible, that’s okay because I have other ideas.
<@&1163218672580575372>

Reply by freezfast | 2024-05-12 12:03:25

Yes it’s possible, simply save the session ID string before resetting the conversation then whenever you would like to load that conversation history then set the session ID variable using the saved string

Replying to freezfast’s Message

Reply by freezfast | 2024-05-12 12:03:25
Yes it’s possible, simply save the session ID string before resetting the conversation then whenever you would like to load that conversation history then set the session ID variable using the saved string

Reply by fdorike | 2024-05-12 21:08:58

I am aware that setting two different SessionIDs at the same time, as shown in the image I presented, is not possible. Is this correct?

Images:

Reply by freezfast | 2024-05-12 22:34:04

Yes it is not possible, only one session ID can be set at a time, unless you have two characters/chatbot components in the scene with the same character ID, then each can have a different session ID at the same time

This conversation happened on the Convai Discord Server, so this post will be closed.