Graph Merge Suggestions
graph_merge_suggestionsIdentifies potential duplicate entity pairs using embedding similarity, neighbor overlap, and name similarity. Aids triage before merging or creating alias relationships.
Instructions
Surface candidate pairs of entities likely to be duplicates. Read-only — never auto-merges. Combines embedding similarity, shared-neighbor overlap, and name-token Jaccard. Same-type only. Use to triage entity-explosion before running graph_merge (destructive consolidation) or graph_relate with ALIAS_OF (soft alias).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | No | Scope to one entity's potential duplicates | |
| entity_type | No | Scope to one entity type (Person, Project, etc.) | |
| min_score | No | Combined-score threshold to surface (default 0.8) | |
| min_embedding_similarity | No | Embedding-similarity floor for candidates (default 0.85) | |
| limit | No | Max suggestions to return (default 20, max 100) | |
| weights | No | Override default weights (0.4 / 0.4 / 0.2) | |
| log_to_audit | No | Emit merge_flagged audit events for surfaced pairs (default true) |