From 685e863bb54c9ad55b239cee8aa5d4d75e1326d1 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Tue, 11 Mar 2025 22:08:15 -0700 Subject: [PATCH] remove json_schema_type decorator --- llama_stack/apis/scoring_functions/scoring_functions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/llama_stack/apis/scoring_functions/scoring_functions.py b/llama_stack/apis/scoring_functions/scoring_functions.py index ba3051133..1b8913378 100644 --- a/llama_stack/apis/scoring_functions/scoring_functions.py +++ b/llama_stack/apis/scoring_functions/scoring_functions.py @@ -25,7 +25,6 @@ from llama_stack.schema_utils import json_schema_type, register_schema, webmetho # Perhaps more structure can be imposed on these functions. Maybe they could be associated # with standard metrics so they can be rolled up? -@json_schema_type class ScoringFnParamsType(Enum): """ A type of scoring function parameters. @@ -40,7 +39,6 @@ class ScoringFnParamsType(Enum): basic = "basic" -@json_schema_type class ScoringFunctionType(Enum): """ A type of scoring function. Each type is a criteria for evaluating answers.