Skip to main content
Version: latest

agrag.ingestion.resolve.resolver.ResolutionResult

Bases: BaseModel

The groups, non-exact evidence, and failure counts of one pass.

Attributes:

  • groups (list[ResolutionGroup]) – One group per transitively connected mention set.
  • matches (list[ResolvedMatch]) – Evidence for every confirmed non-exact pair.
  • ambiguous_count (int) – LLM answers that were uncertain, missing, or malformed. These pairs never merge.
  • failed_llm_requests (int) – LLM verification requests that errored. Their pairs are undecided.
  • cap_truncated_pairs (int) – Boundary pairs that never reached the LLM because of the per-label pair cap. They are undecided.
  • llm_unavailable_pairs (int) – Boundary pairs skipped because no LLM settings were found or the resolver has no LLM comparator.
  • unresolved_pairs (list[tuple[int, int]]) – Every pair the resolver could not decide, sorted as (left_index, right_index) with the lower index first.

ambiguous_count​

ambiguous_count: int = 0

cap_truncated_pairs​

cap_truncated_pairs: int = 0

failed_llm_requests​

failed_llm_requests: int = 0

groups​

groups: list[ResolutionGroup]

llm_unavailable_pairs​

llm_unavailable_pairs: int = 0

matches​

matches: list[ResolvedMatch]

unresolved_pairs​

unresolved_pairs: list[tuple[int, int]] = Field(default_factory=list)