Use Cases
A key aspect of building lifelike and engaging AI characters is their ability to relate with the end users and form relationships over time. Addressing this challenge, Convai is introducing a new feature: Long Term Memory (LTM) for characters. With LTM enabled, characters can now remember interactions with users, build memories from them that can be referred to in future conversations, and develop and evolve their own personalities over time.
Challenges with existing LLM systems
Beyond Basic Retrieval: The Nuances of Memory
To supplement the prompts with relevant information, a common approach is the use of Retrieval Augmented Generation systems powered by vector databases. However memories are more nuanced than just referencing old information. Some of the factors that make a memory different from just information are:
Learned Behaviors: Through repeated interactions, AI characters develop and incorporate behaviors into their subconscious, simulating the human learning process.
Addressing Memory and Privacy Concerns
An AI character can interact with many different users in different scenarios. So the natural question that may arise is: "Can the AI character reveal my information from its memories to someone else?".
To safeguard user privacy while enabling rich, personalized interactions, we've implemented a memory tree system. This system ensures that memories are tied to unique speaker profiles, keeping interactions compartmentalized and private. This will allow developers building with Convai to manage individual memory profiles and offer privacy controls to their end users.
Memory Architecture
Convai's LTM utilizes a hybrid approach, combining Retrieval Augmented Generation (RAG) with a custom ranking system. This architecture accounts for factors like recency and emotional impact, enhancing memory relevance. Here's how it works:
Memory Update: Upon interaction completion, it is fed back into the character's memory tree via the RAG processor, forming new memories or enriching older ones.
Memory Management
We are also building a set of tools and controls that will make it easy for developers to control the memory trees of different users / speakers.
Conclusion: The Future of Conversational AI
Convai's Long Term Memory feature is set to revolutionize user engagement with AI characters. Though still in its early stages, LTM has already shown promising results in enhancing conversational coherence and depth. We're excited