Skip to main content

Module dedup

Module dedup 

Source
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§

ResolutionPath
Which gate decided a candidate — the cost record of one resolution.
ResolvedEntity
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.