Skip to content

EvalProviderContext

PromptScript API


Defined in: eval/src/provider.ts:33

Per-call context of a provider.

Properties

caseId

caseId: string

Defined in: eval/src/provider.ts:37

Dataset row id of the case the call is for


sample?

optional sample?: number

Defined in: eval/src/provider.ts:39

Run index of a judge call, from 1; 0 for the call of a case


signal

signal: AbortSignal

Defined in: eval/src/provider.ts:35

Aborts the call