JudgeFn: (
opts: { output: string; rubric: string; threshold?: number },
) => { pass: boolean; reason?: string; score: number }
Type Declaration
- (
opts: { output: string; rubric: string; threshold?: number },
): { pass: boolean; reason?: string; score: number } Parameters
- opts: { output: string; rubric: string; threshold?: number }
Returns { pass: boolean; reason?: string; score: number }
A model-graded judge: grades
outputagainst arubric→ score in [0,1].