mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 19:12:09 +00:00
remove json_schema_type decorator
This commit is contained in:
parent
98dfc99584
commit
685e863bb5
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue