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(