Skip to content

Commit

Permalink
stable
Browse files Browse the repository at this point in the history
Signed-off-by: Apurva Koti <[email protected]>
  • Loading branch information
apurva-koti committed Apr 4, 2024
1 parent d28f357 commit 34467f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlflow/metrics/genai/genai_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
UNAUTHENTICATED,
ErrorCode,
)
from mlflow.utils.annotations import experimental
from mlflow.utils.annotations import experimental, developer_stable
from mlflow.utils.class_utils import _get_class_from_string

if TYPE_CHECKING:
Expand Down Expand Up @@ -56,6 +56,7 @@ def _format_args_string(grading_context_columns: Optional[List[str]], eval_value


# Function to extract Score and Justification
@developer_stable
def _extract_score_and_justification(text):
if text:
text = re.sub(r"score", "score", text, flags=re.IGNORECASE)
Expand Down

0 comments on commit 34467f5

Please sign in to comment.