Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/evals / / anyMatch

Function: anyMatch()

ts
function anyMatch(
   gold, 
   observed, 
   matcher): boolean;

Defined in: packages/evals/src/scorers/memory/util.ts:62

True when some observed point matches the gold text.

Parameters

ParameterType
goldstring
observedreadonly string[]
matcherMemoryPointMatcher

Returns

boolean