Memory of chat history for each users

Original Discord Post by holiday_29398 | 2024-11-07 03:01:39

I am wondering is it possible for the NPC to retrieve the chat history of each users so that they can continute the chat next day. For example, the chat history of each user be save individually/seperately and then retrieve respectively.

Replying to holiday_29398’s Message

Reply by holiday_29398 | 2024-11-07 03:01:39
I am wondering is it possible for the NPC to retrieve the chat history of each users so that they can continute the chat next day. For example, the chat history of each user be save individually/seperately and then retrieve respectively.

Reply by tyke_18 | 2024-11-07 08:57:35

Hi, may I chip in here until K3 comes along? It sounds like you might make use of using consistent Session ID’s Managing sessionID Locally | Documentation (this is the docs for Unity). Basically, each user gets assigned a unique and consistent session ID value which points to their own conversation across multiple uses of your app, if you implement it as instructed in that document your users can have a conversation in conversation A for example, close your app, then in conversation B pick up from where they left in conversation A.

Embedded Content:
Managing sessionID Locally | Documentation
Session ID Management - Manage unique session IDs for Convai Unity integration.
Link: Managing sessionID Locally | Documentation

Reply by tyke_18 | 2024-11-07 09:11:47

Just to add the NPC will not have a complete history of previous chats using a Session ID, you might need to look into Long Term Memory for memory recall to help with that, but they will be able to pick up a conversation where it previously ended when the last time your app was used.

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