first commit
This commit is contained in:
25
memory/__init__.py
Normal file
25
memory/__init__.py
Normal file
@@ -0,0 +1,25 @@
|
||||
"""
|
||||
Aetheel Memory System
|
||||
=====================
|
||||
Hybrid search memory with SQLite + markdown + local embeddings.
|
||||
|
||||
Inspired by OpenClaw's memory architecture (src/memory/):
|
||||
• Identity files: SOUL.md, USER.md, MEMORY.md
|
||||
• SQLite storage: chunks, FTS5, vector similarity
|
||||
• Hybrid search: vector (0.7) + BM25 keyword (0.3)
|
||||
• Local embeddings: fastembed ONNX (384-dim, zero API calls)
|
||||
• File watching: auto re-index on workspace changes
|
||||
• Session logs: daily/ conversation transcripts
|
||||
|
||||
Usage:
|
||||
from memory import MemoryManager
|
||||
|
||||
manager = MemoryManager(workspace_dir="~/.aetheel/workspace")
|
||||
await manager.sync()
|
||||
results = await manager.search("what are my preferences?")
|
||||
"""
|
||||
|
||||
from memory.manager import MemoryManager
|
||||
from memory.types import MemorySearchResult, MemorySource
|
||||
|
||||
__all__ = ["MemoryManager", "MemorySearchResult", "MemorySource"]
|
||||
Reference in New Issue
Block a user