EvaluationRunOptions
Properties
PropType
examples?Example[]
The examples to evaluate.
Type
Example[]scorers?string[] | Judge<BaseResponse>[]
Hosted scorer names (strings like "faithfulness") or custom Judge instances. Cannot mix both.
Type
string[] | Judge<BaseResponse>[]evalRunName?string
A name for this run, visible in the dashboard.
Type
stringassertTest?boolean | undefined
If true, throws an error when any scorer fails its threshold. Useful in CI/CD pipelines.
Type
boolean | undefinedtimeoutSeconds?number | undefined
Maximum seconds to wait for hosted scorer results before timing out.
Type
number | undefined