Skip to content

v6.10.0 FullIndex — 向量索引社区节点全覆盖 + label_filter 修复

Choose a tag to compare

@Neocher Neocher released this 31 Aug 12:22
· 83 commits to main since this release

v6.10.0 — FullIndex

向量索引退化根治

根因:梦境 CommunityNode 占 94.5%(5947/6289)从不参与索引重建,仅 37 个 EpisodeNode 有 dense_vector,向量检索长期 degraded(vector_index_size=37)。叠加 OverGraph label_filter 为 AND 语义,多 label 查询恒空。

修复:

  • _rebuild_index_overgraph 同时索引 EpisodeNode + CommunityNode(summary 为文本源)
  • batch_upsert_embeddings label-aware
  • 主检索通道按 label 分次查询、按 score 合并去重
  • Hebbian 边仍仅 Episode-Episode(语义保留)

验证:

  • 回归测试 tests/test_vector_index_degradation.py 5/5
  • 全量 1157 passed
  • 重启 rebuild:37 → 6020 节点全量入索引,检索冒烟命中 5 条
  • 补 ONNX CPU 快照(EmbeddedLLM/bge-m3-onnx-o2-cpu, 2.2G)消除 CUDA OOM 隐患