Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/humanloop/eval_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ class EvaluatorCheck(BaseModel):
"""The threshold to check the Evaluator against."""
threshold_check: Optional[bool]
"""Whether the latest version has an average Evaluator result above a threshold."""
evaluation_id: str
"""The ID of the corresponding Evaluation."""


def _run_eval(
Expand Down Expand Up @@ -441,6 +443,7 @@ def process_datapoint(datapoint: Datapoint):
delta=delta,
threshold=threshold,
threshold_check=threshold_check,
evaluation_id=evaluation.id,
)
)
logger.info(f"\n{CYAN}View your Evaluation:{RESET}\n{evaluation.url}\n")
Expand Down