mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 06:53:47 +00:00
scoring fix
This commit is contained in:
parent
c5cf9c30be
commit
56239fce90
10 changed files with 104 additions and 15 deletions
|
@ -38,7 +38,10 @@ class LLMAsJudgeScoringFnParams(BaseModel):
|
|||
)
|
||||
judge_model: str
|
||||
prompt_template: Optional[str] = None
|
||||
judge_score_regex: Optional[List[str]] = Field()
|
||||
judge_score_regexes: Optional[List[str]] = Field(
|
||||
description="Regexes to extract the answer from generated response",
|
||||
default_factory=list,
|
||||
)
|
||||
|
||||
|
||||
@json_schema_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue