mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
remove Field for return_type
This commit is contained in:
parent
b7d2b83d55
commit
ffb3965ade
1 changed files with 1 additions and 3 deletions
|
@ -40,9 +40,7 @@ class ScoringFnDef(BaseModel):
|
|||
description="List of parameters for the deterministic function",
|
||||
default_factory=list,
|
||||
)
|
||||
return_type: ParamType = Field(
|
||||
description="The return type of the deterministic function",
|
||||
)
|
||||
return_type: ParamType
|
||||
context: Optional[LLMAsJudgeContext] = None
|
||||
# We can optionally add information here to support packaging of code, etc.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue