xiaowei
36af93055f
fix: 蒸馏产物不回写记忆库,OnDistillComplete缺InsertMemory
蒸馏引擎跑完后结果只进了图谱(SQLite)没有写回LanceDB记忆库。
OnDistillComplete回调中有graphUpdater.UpdateFromDistill()
和冲突检测,但没有将extracted facts作为distilled类别记忆
写入memories表。
修复:在server.go的OnDistillComplete回调中添加
ldb.InsertMemory循环,将result.Facts逐条写入LanceDB。
同时添加models import。
验证:
- force distill -> 5条distilled记忆写入,评分0.828-0.987
- 时间戳正确,category=distilled
- recall可通过category过滤获取蒸馏产物
2026-05-30 10:41:42 +08:00
..
2026-05-29 01:07:05 +08:00
2026-05-28 17:16:52 +08:00
2026-05-30 10:41:42 +08:00
2026-05-28 17:35:25 +08:00
2026-05-30 10:31:25 +08:00
2026-05-29 02:51:46 +08:00
2026-05-29 02:51:46 +08:00
2026-05-28 18:35:19 +08:00
2026-05-29 01:07:05 +08:00