@langwatch/scenario
    Preparing search index...

    Function inferEvaluatorMappings

    • Completes the mappings of an evaluator: explicit mappings stay as they are, every other input the evaluator declares is inferred from its name, and an input that cannot be inferred stays unmapped.

      Parameters

      • __namedParameters: {
            fieldNames: string[];
            inputs: string[];
            mappings?: Record<string, EvaluatorMapping>;
        }

      Returns Record<string, EvaluatorMapping>