Skip to main content

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

Function: formatEvaluatorNames()

formatEvaluatorNames(evaluators): string

Formats the names of evaluators into a comma-separated list, each enclosed in single quotes.

Parameters

evaluators: Evaluator[]

An array of evaluator objects.

Returns

string

A string that concatenates the names of all evaluators, each enclosed in single quotes and separated by commas.

Defined in

packages/core/src/evaluators.ts:30