Expand description
Entity deduplication — skip, create, or merge decisions.
Most candidates are decided locally: an existing entity with the same name
and type is the same entity, a nearest neighbour far below the review
threshold is a new one. Only the band in between is worth a model call, and
only a bounded number of neighbours are ever shown to it — see
crate::config::GraphDedupConfig.
Structs§
- Resolution
- What dedup did with a candidate, and what it cost.
Enums§
- Resolution
Path - Which gate decided a candidate — the cost record of one resolution.
- Resolved
Entity - Resolved entity after dedup — either newly created or existing (merged/skipped).
Functions§
- parse_
dedup_ response - Parse the LLM’s dedup decision from JSON.
- resolve_
entity - Run the dedup pipeline for one extracted entity.