Views
No views yet
1pip install sentence-transformers
2python memory_system.py1# Search memories
2python memory_cli.py search "ZeroGPU"
3
4# List all threads
5python memory_cli.py threads
6
7# Show a specific thread
8python memory_cli.py show cydonia-space-setup-20260430-215601
9
10# Export all memories
11python memory_cli.py export --all1from memory_system import ConversationMemory
2
3memory = ConversationMemory(user_id="scottzilla")
4
5# Save a message
6memory.save_message("user", "Hello!", thread_id="my-thread")
7
8# Save a full conversation
9memory.save_conversation([
10 {"role": "user", "content": "Hi"},
11 {"role": "assistant", "content": "Hello!"}
12], thread_id="my-thread")
13
14# Search
15results = memory.search("model loading")
16
17# Get thread history
18messages = memory.get_thread("my-thread")
19
20# Export
21memory.export_to_markdown("conversation.md", "my-thread")| File | Purpose |
|---|---|
memory_system.py | Core memory class |
memory_cli.py | Command-line interface |
cydonia-space-setup-20260430-215601.jsoncydonia-space-setup-20260430-215601.md