Skip to main content
Version: 0.0.7

agrag.ingestion.resolved_entities.MatchDecision

Bases: BaseModel

A confirmed non-exact entity match ready to persist.

Attributes:

  • entity_a_id (UUID) – Id of the first matched entity.
  • entity_b_id (UUID) – Id of the second matched entity.
  • comparator (str) – Name of the comparator that confirmed the match.
  • score (float | None) – Comparator score, if available.
  • reasoning (str | None) – Comparator reasoning, if available.
  • decided_at (datetime) – Time when the match was confirmed.
  • similarity (float | None) – Candidate similarity, if available.
  • batch_id (UUID | None) – Resolution batch id, if available.

batch_id​

batch_id: UUID | None = None

comparator​

comparator: str

decided_at​

decided_at: datetime

entity_a_id​

entity_a_id: UUID

entity_b_id​

entity_b_id: UUID

reasoning​

reasoning: str | None = None

score​

score: float | None = None

similarity​

similarity: float | None = None