Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/evals / / anyMatch

Function: anyMatch() ​

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

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

True when some observed point matches the gold text.

Parameters ​

ParameterType
goldstring
observedreadonly string[]
matcherMemoryPointMatcher

Returns ​

boolean