Skip to main content

agrag.common.data_models.stage_failure.StageFailure

Bases: BaseModel

One item failure within a pipeline stage.

Attributes:

  • item_id (str) – The chunk id, mention id, or batch id that the stage failed on.
  • error_type (str) – The exception's class name.
  • error_message (str) – The exception's message.
  • trace_id (str | None) – The OTel trace id correlating to the full span detail, when tracing is configured.
  • span_id (str | None) – The OTel span id within that trace.

error_message​

error_message: str

error_type​

error_type: str

item_id​

item_id: str

span_id​

span_id: str | None = None

trace_id​

trace_id: str | None = None