Skip to content

Commit cc132a3

Browse files
committed
chore: run benchmarks with reflect mode
1 parent e8990d6 commit cc132a3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

hindsight-api/hindsight_api/engine/retain/fact_extraction.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ class CausalRelation(BaseModel):
115115

116116
target_fact_index: int = Field(description="Index of the related fact in the facts array (0-based).")
117117
relation_type: Literal["caused_by"] = Field(
118-
description="How this fact relates to the target: "
119-
"'caused_by' = this fact was caused by the target"
118+
description="How this fact relates to the target: 'caused_by' = this fact was caused by the target"
120119
)
121120
strength: float = Field(
122121
description="Strength of relationship (0.0 to 1.0)",
@@ -140,8 +139,7 @@ class FactCausalRelation(BaseModel):
140139
"Example: if this is fact #5, target_index can only be 0, 1, 2, 3, or 4."
141140
)
142141
relation_type: Literal["caused_by"] = Field(
143-
description="How this fact relates to the target fact: "
144-
"'caused_by' = this fact was caused by the target fact"
142+
description="How this fact relates to the target fact: 'caused_by' = this fact was caused by the target fact"
145143
)
146144
strength: float = Field(
147145
description="Strength of relationship (0.0 to 1.0). 1.0 = strong, 0.5 = moderate",

0 commit comments

Comments
 (0)