Score Schema
class Score(BaseModel):
thoughts: str = Field(
description="Thoughts on how to evaluate the response",
)
observations: str = Field(
description="Observations about the operation and the response",
)
correct: bool = Field(
description="Did the model succeed at handling the task or not?",
)
score: float = Field(
description="A value between 0 and 100 reflecting the quality of the response given the instructions, input and expected output",
)
Better schema annotations lead to clearer tasks and more accurate evaluations.