Skip to main content

@okcashpro/okai v0.1.7-alpha.1 / formatEvaluatorExampleDescriptions

Function: formatEvaluatorExampleDescriptions()

formatEvaluatorExampleDescriptions(evaluators): string

Generates a string summarizing the descriptions of each evaluator example.

Parameters

evaluators: Evaluator[]

An array of evaluator objects, each containing examples.

Returns

string

A string that summarizes the descriptions for each evaluator example, formatted with the evaluator name, example number, and description.

Defined in

packages/core/src/evaluators.ts:110