From 3db1b3fbcd83aed1282e3a9b32c1e59dcf0e4938 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Thu, 24 Oct 2024 13:53:41 -0700 Subject: [PATCH] rebase name --- .../impls/meta_reference/scoring/scorer/inclusion_scorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/providers/impls/meta_reference/scoring/scorer/inclusion_scorer.py b/llama_stack/providers/impls/meta_reference/scoring/scorer/inclusion_scorer.py index d317bfba4..cb0c3fc6d 100644 --- a/llama_stack/providers/impls/meta_reference/scoring/scorer/inclusion_scorer.py +++ b/llama_stack/providers/impls/meta_reference/scoring/scorer/inclusion_scorer.py @@ -17,7 +17,7 @@ class InclusionScorer(BaseScorer): A scorer that assigns a score of 1.0 if the expected string is included in the generated string, and 0.0 otherwise. """ - scoring_function_def = DeterministicFunctionDef( + scoring_function_def = ScoringFunctionDef( identifier="inclusion", description="Returns 1.0 if the expected is included in generated, 0.0 otherwise.", parameters=[],