Interface EvalConfig

Configuration for an evaluation run.

interface EvalConfig {
    concurrency?: number;
    timeoutMs?: number;
    retries?: number;
    continueOnError?: boolean;
    thresholds?: {
        pass?: number;
        warn?: number;
    };
    customScorers?: Record<string, ScorerFunction>;
}

Properties

concurrency?: number

Maximum concurrent evaluations

timeoutMs?: number

Timeout per test case (ms)

retries?: number

Number of retries on failure

continueOnError?: boolean

Whether to continue on error

thresholds?: {
    pass?: number;
    warn?: number;
}

Scoring thresholds

Type declaration

  • Optional pass?: number
  • Optional warn?: number
customScorers?: Record<string, ScorerFunction>

Custom scorers