Implementing Long-Term Memory using Julep
Talk to Jessica, a stuck-up Cali teen who doesn't forget.
Julep is an open-source platform for AI applications. It offers long-term memories, context management, and supports multi-user and multi-agent apps.
We're going to write a small conversational bot which has the ability to form long-term memories using Julep.
Join our Discord server to see it in action!
Run the app to see the outputs
Press the run button in the top right corner
Creating an "agent"
Agent is the object to which LLM settings, like model, temperature along with tools are scoped to.
Creating a "user"
User is the object which represents the user of the application.
Memories are formed and saved for each user and many users can talk to one agent.
Putting it all together in a "session"
A "user" and an "agent" communicate in a "session". System prompt goes here.
Conversation history and summary are stored in a "session" which saves the conversation history.
The session paradigm allows for; many users to interact with one agent and allow separation of conversation history and memories.
Run the app to see the outputs
Press the run button in the top right corner