Function: formatEvaluatorExamples
▸ formatEvaluatorExamples(evaluators
): string
Formats evaluator examples into a readable string, replacing placeholders with generated names.
Parameters
Name | Type | Description |
---|---|---|
evaluators | Evaluator [] | An array of evaluator objects, each containing examples to format. |
Returns
string
A string that presents each evaluator example in a structured format, including context, messages, and outcomes, with placeholders replaced by generated names.