Skip to main content

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

Function: formatEvaluators()

formatEvaluators(evaluators): string

Formats evaluator details into a string, including both the name and description of each evaluator.

Parameters

evaluators: Evaluator[]

An array of evaluator objects.

Returns

string

A string that concatenates the name and description of each evaluator, separated by a colon and a newline character.

Defined in

packages/core/src/evaluators.ts:41