Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/evals / / predicate

Function: predicate()

ts
function predicate<I, O>(options): Scorer<I, O>;

Defined in: evals/src/scorers/code/predicate.ts:21

Type Parameters

Type ParameterDefault type
Iunknown
Ounknown

Parameters

ParameterType
optionsPredicateOptions&lt;I, O&gt;

Returns

Scorer&lt;I, O&gt;

Stable