-
fix(summary): exclude duplicate edges from node summary generation (#1223)
发布于
2026-02-12 00:26:56 +00:00 - fix(summary): exclude duplicate edges from node summary generation
When resolving extracted edges, edges that match existing edges in the
graph were still being passed to node summary generation, causing facts
to be duplicated in summaries.Changes:
- Update resolve_extracted_edges to return new_edges (non-duplicates)
- Update _extract_and_resolve_edges to pass through new_edges
- Pass only new_edges to extract_attributes_from_nodes in add_episode
- An edge is considered "new" if its resolved UUID matches extracted UUID
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
- chore: bump version to 0.27.1
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
Co-authored-by: Claude Opus 4.5 noreply@anthropic.com
下载附件