File size: 357 Bytes
c211499
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Example, KVMap, Run, ScoreType, ValueType } from "../schemas.js";
export interface EvaluationResult {
    key: string;
    score?: ScoreType;
    value?: ValueType;
    comment?: string;
    correction?: object;
    evaluatorInfo?: KVMap;
}
export interface RunEvaluator {
    evaluateRun(run: Run, example?: Example): Promise<EvaluationResult>;
}