mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-31 16:01:46 +00:00
typo
This commit is contained in:
parent
f3955d04d7
commit
9759911e47
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class ScoringConfigType(Enum):
|
||||||
|
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
class LLMAsJudgeScoringFnConfig(BaseModel):
|
class LLMAsJudgeScoringFnConfig(BaseModel):
|
||||||
type: Literal[ScoringContextType.llm_as_judge.value] = ( # type: ignore
|
type: Literal[ScoringConfigType.llm_as_judge.value] = ( # type: ignore
|
||||||
ScoringConfigType.llm_as_judge.value
|
ScoringConfigType.llm_as_judge.value
|
||||||
)
|
)
|
||||||
judge_model: str
|
judge_model: str
|
||||||
|
@ -43,7 +43,7 @@ class LLMAsJudgeScoringFnConfig(BaseModel):
|
||||||
|
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
class AnswerParsingScoringFnConfig(BaseModel):
|
class AnswerParsingScoringFnConfig(BaseModel):
|
||||||
type: Literal[ScoringContextType.answer_parsing.value] = ( # type: ignore
|
type: Literal[ScoringConfigType.answer_parsing.value] = ( # type: ignore
|
||||||
ScoringConfigType.answer_parsing.value
|
ScoringConfigType.answer_parsing.value
|
||||||
)
|
)
|
||||||
parsing_regex: Optional[List[str]] = Field(
|
parsing_regex: Optional[List[str]] = Field(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue