Type Alias EvaluatorT

EvaluatorT:
    | DeprecatedRunEvaluator
    | DeprecatedFunctionEvaluator
    | DeprecatedAsyncFunctionEvaluator
    | (
        args: {
            example: Example;
            inputs: Record<string, any>;
            outputs: Record<string, any>;
            run: Run;
            attachments?: Record<string, any>;
            referenceOutputs?: Record<string, any>;
        },
    ) => EvaluationResult
    | EvaluationResults
    | (
        args: {
            example: Example;
            inputs: Record<string, any>;
            outputs: Record<string, any>;
            run: Run;
            attachments?: Record<string, any>;
            referenceOutputs?: Record<string, any>;
        },
    ) => Promise<EvaluationResult | EvaluationResults>