EvalResponse: { evaluation: | { details?: z.objectOutputType< { reasoning: z.ZodOptional<z.ZodString> }, z.ZodTypeAny, "passthrough", >; error?: string; id?: string; score?: string | number | boolean; status?: "UNKNOWN" | "PASS" | "FAIL"; } | { details?: z.objectOutputType< { reasoning: z.ZodOptional<z.ZodString> }, z.ZodTypeAny, "passthrough", >; error?: string; id?: string; score?: string | number | boolean; status?: "UNKNOWN" | "PASS" | "FAIL"; }[]; sampleIndex?: number; spanId?: string; testCaseId: string; traceId?: string;} Type declaration
evaluation:
| {
details?: z.objectOutputType<
{ reasoning: z.ZodOptional<z.ZodString> },
z.ZodTypeAny,
"passthrough",
>;
error?: string;
id?: string;
score?: string | number | boolean;
status?: "UNKNOWN" | "PASS" | "FAIL";
}
| {
details?: z.objectOutputType<
{ reasoning: z.ZodOptional<z.ZodString> },
z.ZodTypeAny,
"passthrough",
>;
error?: string;
id?: string;
score?: string | number | boolean;
status?: "UNKNOWN" | "PASS" | "FAIL";
}[]
Optional
sampleIndex?: number
Optional
spanId?: string
testCaseId: string
Optional
traceId?: string