Skip to main content
Version: latest

agrag.common.data_models.decision.DecisionHit

Bases: BaseModel

A decision returned by precedent search.

The marker says the decision is a precedent to read. The model has no field that says the decision applies to the current task.

Attributes:

  • decision (Decision) – The decision, with its task name, status and review state.
  • task_goal (str) – The goal of the task that recorded the decision.
  • marker (Literal['precedent']) – Always precedent.

decision​

decision: Decision

marker​

marker: Literal['precedent'] = PRECEDENT_MARKER

model_config​

model_config = ConfigDict(frozen=True)

task_goal​

task_goal: str