Skip to content

Commit

Permalink
Import genai in mlflow.metrics (mlflow#11336)
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <[email protected]>
Signed-off-by: Daniel Lok <[email protected]>
  • Loading branch information
harupy authored and daniellok-db committed Mar 6, 2024
1 parent 22f06f5 commit 509cacd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlflow/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from mlflow.metrics import genai
from mlflow.metrics.base import (
MetricValue,
)
Expand Down Expand Up @@ -457,4 +458,5 @@ def f1_score() -> EvaluationMetric:
"binary_f1_score",
"token_count",
"latency",
"genai",
]

0 comments on commit 509cacd

Please sign in to comment.