Skip to main content

agrag.ingestion.stats.merge.MergeStats

Bases: BaseModel

Merge-stage results.

Attributes:

  • nodes_created (int) – Brand-new entities created this call.
  • nodes_updated (int) – Existing entities that absorbed new mention data.
  • conflicts_resolved (int) – Total property/description conflicts resolved across every merge this call performed.
  • failures (list[StageFailure]) – Includes an LLM failure during description summarization. The merge still falls back to concatenation and completes, but the failure is recorded here. Also includes a failed read of a mention's persisted candidates: that mention is not merged in this call.
  • failures_total (int) – Failures recorded before capping.
  • failures_truncated (bool) – Whether failures was cut to the cap.

conflicts_resolved​

conflicts_resolved: int = 0

failures​

failures: list[StageFailure] = Field(default_factory=list)

failures_total​

failures_total: int = 0

failures_truncated​

failures_truncated: bool = False

nodes_created​

nodes_created: int = 0

nodes_updated​

nodes_updated: int = 0