MatchStrategy
MatchStrategy<
T> ="strict"|"fuzzy"| ((expected,actual,context?) =>boolean)
Matching strategy used by structured-output and tool-call judges.
Type Parameters
Section titled “Type Parameters”T = unknown
Example
Section titled “Example”const exact: MatchStrategy = "strict";const custom: MatchStrategy = (expected, actual) => String(actual).includes(String(expected));