EvalResponse: {
    evaluation:
        | {
            details?: objectOutputType<
                { reasoning: ZodOptional<ZodString> },
                ZodTypeAny,
                "passthrough",
            >;
            error?: string;
            id?: string;
            score?: string | number | boolean;
        }
        | {
            details?: objectOutputType<
                { reasoning: ZodOptional<ZodString> },
                ZodTypeAny,
                "passthrough",
            >;
            error?: string;
            id?: string;
            score?: string | number | boolean;
        }[];
    sampleIndex?: number;
    spanId?: string;
    testCaseId: string;
    traceId?: string;
}

Type declaration

  • evaluation:
        | {
            details?: objectOutputType<
                { reasoning: ZodOptional<ZodString> },
                ZodTypeAny,
                "passthrough",
            >;
            error?: string;
            id?: string;
            score?: string | number | boolean;
        }
        | {
            details?: objectOutputType<
                { reasoning: ZodOptional<ZodString> },
                ZodTypeAny,
                "passthrough",
            >;
            error?: string;
            id?: string;
            score?: string | number | boolean;
        }[]
  • OptionalsampleIndex?: number
  • OptionalspanId?: string
  • testCaseId: string
  • OptionaltraceId?: string