🧠 Add memory persistence #33

Open
opened 2025-05-14 18:01:18 -04:00 by milo · 0 comments
Owner

Memory Persistence System

Goal: Allow Delta to remember key information across sessions for deeper contextual awareness and long-term personality development.

Features:

  • Store long-term memory as JSON or database (e.g., SQLite, PostgreSQL, or flat file)
  • Allow bot to recall:
    • Previous user topics
    • Facts about server members
    • Prior jokes, roasts, or inside references
  • Memory retrieval optionally based on:
    • Specific triggers (e.g., certain phrases)
    • Server events (e.g., member joins, channel renamed)
  • Memory saving toggle in settings.yml
  • Memory summary injection before context block (configurable)

Implementation Ideas:

  • Use UUID per server and per user to structure memory
  • Add command: !memory show, !memory clear, !memory add
  • Auto-prune memory to avoid hallucinations or bloat

Example Use Case:

User: Remember my cat is named Mango.
Later...
Delta: “How’s Mango? Still plotting world domination?”

## Memory Persistence System **Goal**: Allow Delta to remember key information across sessions for deeper contextual awareness and long-term personality development. ### Features: - Store long-term memory as JSON or database (e.g., SQLite, PostgreSQL, or flat file) - Allow bot to recall: - Previous user topics - Facts about server members - Prior jokes, roasts, or inside references - Memory retrieval optionally based on: - Specific triggers (e.g., certain phrases) - Server events (e.g., member joins, channel renamed) - Memory saving toggle in `settings.yml` - Memory summary injection before context block (configurable) ### Implementation Ideas: - Use UUID per server and per user to structure memory - Add command: `!memory show`, `!memory clear`, `!memory add` - Auto-prune memory to avoid hallucinations or bloat ### Example Use Case: > User: Remember my cat is named Mango. > Later... > Delta: “How’s Mango? Still plotting world domination?”
milo added this to the Beta Build milestone 2025-05-14 18:01:18 -04:00
milo added the
💡feature
label 2025-05-14 18:01:18 -04:00
milo self-assigned this 2025-05-14 18:01:18 -04:00
Sign in to join this conversation.
No description provided.