SessionManagementFromClient

Is it possible to specify the sessionid that is being used? I’ve read through the documentation on how to retrieve and store the session locally…however I don’t see where that information is then used with API (ConvaiGRPCWebAPI?).

My use case is that I want to specify the session so that a user gains access to the long term memory regardless of which device they are using (externally managed session id)

Welcome to the Convai Developer Forum!

Currently, the Long Term Memory feature is not available.

Could you let us know which platform you’re working on? This information will help us provide more targeted assistance. :blush:

Unity, Both Desktop and WebGL

Hello @chris.raasch,

The Core SDK and WebGL SDK are different and cannot function together in the same project.

In the Core SDK, you can access the SessionID from ConvaiNPC.cs. A new SessionID will be created during the first interaction if the default value is set to -1.

Once the SessionID is generated, you can save it and reuse it in subsequent sessions by setting the SessionID variable in the ConvaiNPC component.

Let me know if you have further questions or need additional guidance! :blush:

Hi K3, I look forward to when LTM is re-introduced, I am hoping it will be with you saying currently it’s not available which hopefully means it’s a temporary absence. It’s great you guys/gals are working on it because it’s a feature of real value imo. The previous iteration of it never really had an affect that I could notice tbh.

Hello @Tyke,

Thank you for your patience and understanding!

The previous version of LTM was in Beta and had some bugs. Rest assured, we’re actively working on improving it, and the next iteration will be released soon. No need to worry—it’s on its way! :blush:

Let us know if you have any other questions or feedback!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.