Introducing the experimental evaluation of our dynamic memory systems, focusing on Long-Term Memory (LTM) and Short-Term Memory (STM).
This document presents the design, testing, and evaluation of MineAI’s Short-Term Memory (STM) and Long-Term Memory (LTM) systems. It explains how user messages are captured, stored, and retrieved dynamically, describes memory behavior using a Redux-inspired pattern (state, actions, selectors), and provides descriptive guidelines for regex-based extraction patterns used in LTM. The LTM is currently in Experimental Phase, with plans to refine and launch as Beta.
MineAI supports dynamic memory systems:
The system follows a state-management approach inspired by Redux, where actions update memory state, and selectors retrieve relevant information for AI responses.
To help users understand how LTM identifies and stores information, here’s a descriptive explanation of regex patterns for each category:
Detect phrases where the user expresses likes, dislikes, or favorites.
“I like …”“I prefer …”“My favorite tool is …”Detect phrases describing projects the user is working on.
“I’m working on …”“My project is …”“Currently developing …”Detect phrases describing ambitions or objectives.
“My goal is to …”“I want to …”“I hope to …”Detect rules or requirements for AI responses.
“I need all responses to …”“Please avoid …”“Never …”Detect personal information.
“I am a …”“I live in …”“My name is …”| 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 |