Design, testing, and evaluation of MineAI’s Short-Term Memory (STM) and Long-Term Memory (LTM) systems.
This document presents the design, testing, and evaluation of MineAI’s Short-Term Memory (STM) and Long-Term Memory (LTM) systems. It describes how user messages are captured, stored, and retrieved dynamically, and explains memory behavior using a Redux-inspired pattern, highlighting state management, actions, and selectors. The LTM is currently in Experimental Phase, with plans to refine and launch as Beta.
Captures temporary, session-specific information. Resets after the session ends.
Stores persistent, cross-session user information and evolves dynamically based on frequency and importance.
The system follows a state-management approach similar to Redux, where actions update memory state, and selectors retrieve relevant information for personalized AI responses.
Behavior: STM captures conversational context and ephemeral instructions, such as “respond using only emojis” or session-specific project mentions.
Focus: Verify session-limited memory capture and retrieval.
| Category | Session 1 Input | Session 2 Retrieval |
|---|---|---|
| Preference | User prefers short and direct answers. | How should you reply? → Short and direct |
| Project | User is working on a hosting platform called SkyHost. | What project am I working on? → SkyHost |
| Goal | User’s goal is to become a leading AI hosting provider. | What is my long-term goal? → Become leading AI hosting provider |
| Constraint | User needs all responses to be concise. | How should you respond? → Enforce concise responses |
| Fact | User lives in Pakistan and is named Ali. | What’s my name and where do I live? → Ali, Pakistan |