Skip to main content

Function: formatEvaluatorExampleConditions

formatEvaluatorExampleConditions(evaluators): string

Generates a string describing the conditions under which each evaluator example is relevant.

Parameters

NameTypeDescription
evaluatorsEvaluator[]An array of evaluator objects, each containing examples.

Returns

string

A string that describes the conditions for each evaluator example, formatted with the evaluator name, example number, and condition.