Type Alias SummaryEvaluatorT

SummaryEvaluatorT:
    | DeprecatedSyncSummaryEvaluator
    | DeprecatedAsyncSummaryEvaluator
    | (
        args: {
            examples: Example[];
            inputs: Record<string, any>[];
            outputs: Record<string, any>[];
            runs: Run[];
            referenceOutputs?: Record<string, any>[];
        },
    ) => EvaluationResult
    | EvaluationResults
    | (
        args: {
            examples: Example[];
            inputs: Record<string, any>[];
            outputs: Record<string, any>[];
            runs: Run[];
            referenceOutputs?: Record<string, any>[];
        },
    ) => Promise<EvaluationResult | EvaluationResults>