langchain.js
    Preparing search index...

    Type Alias RunEvaluatorLike

    RunEvaluatorLike:
        | (
            (
                props: DynamicRunEvaluatorParams,
                options: Toolkit,
            ) => Promise<EvaluationResult>
        )
        | (
            (
                props: DynamicRunEvaluatorParams,
                options: Toolkit,
            ) => EvaluationResult
        )

    Type of a function that can be coerced into a RunEvaluator function. While we have the class-based RunEvaluator, it's often more convenient to directly pass a function to the runner. This type allows us to do that.