From 8952e4020168dc008064f6904aa60fbe4f5dbfcf Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Tue, 11 Mar 2025 22:14:06 -0700 Subject: [PATCH] custom --- llama_stack/apis/scoring_functions/scoring_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/apis/scoring_functions/scoring_functions.py b/llama_stack/apis/scoring_functions/scoring_functions.py index 8841b7b43..f84ea1577 100644 --- a/llama_stack/apis/scoring_functions/scoring_functions.py +++ b/llama_stack/apis/scoring_functions/scoring_functions.py @@ -73,7 +73,7 @@ class AggregationFunctionType(Enum): @json_schema_type class LLMAsJudgeScoringFnParams(BaseModel): - type: Literal["llm_as_judge"] = "llm_as_judge" + type: Literal["custom_llm_as_judge"] = "custom_llm_as_judge" judge_model: str prompt_template: Optional[str] = None judge_score_regexes: Optional[List[str]] = Field(