mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 19:12:09 +00:00
custom
This commit is contained in:
parent
5162889709
commit
8952e40201
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class AggregationFunctionType(Enum):
|
||||||
|
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
class LLMAsJudgeScoringFnParams(BaseModel):
|
class LLMAsJudgeScoringFnParams(BaseModel):
|
||||||
type: Literal["llm_as_judge"] = "llm_as_judge"
|
type: Literal["custom_llm_as_judge"] = "custom_llm_as_judge"
|
||||||
judge_model: str
|
judge_model: str
|
||||||
prompt_template: Optional[str] = None
|
prompt_template: Optional[str] = None
|
||||||
judge_score_regexes: Optional[List[str]] = Field(
|
judge_score_regexes: Optional[List[str]] = Field(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue