agrag.ingestion.resolve.resolver
Entity resolution: deciding which ExtractedEntity mentions are the same thing.
Classes:
- Comparator – One matching strategy a Resolver runs against a candidate pair.
- ComparisonResult – The verdict and evidence produced by one comparator.
- ComparisonVerdict – A Comparator's verdict on one entity pair.
- ExactMatch – Matches when normalized text is identical. Never returns NO_MATCH.
- FuzzyMatch – Fast-path accepter for near-identical names. Never returns NO_MATCH.
- LLMVerify – Ask an LLM to verify an ambiguous pair. Last resort. Never UNCERTAIN.
- ResolutionGroup – One set of ExtractedEntity indices resolution decided are the same entity.
- ResolutionResult – The groups, non-exact evidence, and ambiguity count of one pass.
- ResolvedMatch – One confirmed non-exact match between two input entity indices.
- Resolver – Routes blocked candidate pairs through exact, fuzzy, embedding, and LLM zones.
Attributes:
- logger –