Memory #36
Labels
No labels
High Priority
Low Priority
Upgrade Path
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
💡feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: milo/AI-Discord-Bot#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🧠 Memory Feature Scope – ChromaDB Integration
Goal
Enable long-term memory so the bot can remember facts about users, past conversations, or important events, making interactions feel more alive and personal.
Phase 1: ChromaDB Setup
chromadbtorequirements.txtmemory/chroma_memory.py./memory/chroma_db/)memoriesid(e.g.,user123_2024-06-01)user_idorusernamecontent(the memory fact or message)metadata(timestamp, type, source)Phase 2: Writing Memories
on_message)"I love Apex Legends"→ memory)Phase 3: Retrieving Memories
get_ai_response()context:"Last time you mentioned you love Apex.")Phase 4: User Control (Optional but recommended)
!remember→ Manually add a memory!memories→ List a user’s stored memories!forget→ Wipe memory of a user or phrasePhase 5: Optimization and Future Steps
Tech Notes
all-MiniLM-L6-v2orintfloat/e5-small-v2