Skip to main content

@ai16z/eliza v0.1.3 / formatEvaluatorExamples

Function: formatEvaluatorExamples()

formatEvaluatorExamples(evaluators): string

Formats evaluator examples into a readable string, replacing placeholders with generated names.

Parameters

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.

Defined in

packages/core/src/evaluators.ts:55