This repository has been archived on 2026-09-23 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
5a6796ebc222e75831741d32b7616c5e13a6d820
- 新增 src/storage/faiss_index.py: FAISSIndex 类(IndexFlatIP,L2归一化内积=余弦相似度) - 新增 src/storage/faiss_embedder.py: FAISSRecall(兼容SentenceTransformersRecall接口) - 集成到 server.py: 切换为 FAISSRecall - data/sbert_index.faiss: 从现有JSONL构建的FAISS二进制索引(35文档) - 支持 mmap 持久化,后续可切换 IndexHNSW 处理大规模数据
织忆 (MemoryWeave) 独立记忆服务
织忆是独立记忆层,不是行为层。只负责记忆的存储、检索、共享和质量审核。
项目结构
src/
├── distill/ # 蒸馏引擎
│ ├── engine.py # 主引擎
│ ├── queue.py # 持久化队列
│ ├── hard_rules.py # 硬规则过滤
│ └── conflicts.py # 冲突检测
└── models/ # 数据模型
├── episode.py # Episode 模型
└── distilled.py # Distilled 模型
tests/ # 测试
config.py # 配置
开发流程
- 我规划 → opencode 执行 → 我验收 → openclaw 体验
详见 设计文档
相关链接
- Gitea: http://192.168.123.11:3000/xiaoxue_admin/zhiyi
- 设计文档: ~/mc/小唯/07-Wiki/concepts/织忆(MemoryWeave)-v2.6-完整定稿.md
Languages
Python
99%
Shell
1%