蒸馏引擎跑完后结果只进了图谱(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过滤获取蒸馏产物 |
||
|---|---|---|
| .. | ||
| client | ||
| cmd/zhiyid | ||
| internal | ||
| proto | ||
| static | ||
| go.mod | ||
| go.sum | ||
| integration_test.go | ||
| zhiyid-new | ||