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: 1 addition & 2 deletions langfuse/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class Evaluation:
- Numeric (int/float): For quantitative metrics like accuracy (0.85), BLEU (0.42)
- String: For categorical results like "positive", "negative", "neutral"
- Boolean: For binary assessments like "passes_safety_check"
- None: When evaluation cannot be computed (missing data, API errors, etc.)
comment: Optional human-readable explanation of the evaluation result.
Useful for providing context, explaining scoring rationale, or noting
special conditions. Displayed in Langfuse UI for interpretability.
Expand Down Expand Up @@ -186,7 +185,7 @@ def __init__(
self,
*,
name: str,
value: Union[int, float, str, bool, None],
value: Union[int, float, str, bool],
comment: Optional[str] = None,
metadata: Optional[Dict[str, Any]] = None,
data_type: Optional[ScoreDataType] = None,
Expand Down
Loading