Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 717 Bytes

formatEvaluatorExamples.md

File metadata and controls

23 lines (12 loc) · 717 Bytes

@elizaos/core v0.1.7 / 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