dedup_candidates
Identifies node pairs with high embedding similarity requiring human review before merging, sorted by descending similarity.
Instructions
Return pairs of nodes whose embeddings are above a threshold but below the auto-merge threshold. Intended for human review before calling canonicalize_node. Returns pairs sorted by descending similarity so the most likely duplicates appear first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional project scope to filter candidates. | |
| agent_id | No | Optional agent scope to filter candidates. | |
| threshold | No | Minimum cosine similarity to report (default 0.85). | |
| session_id | No | Optional session scope to filter candidates. |