createJudgeHarness
createJudgeHarness(
options):JudgeHarness
Creates a judge harness from a provider-specific prompt callback.
Parameters
Section titled “Parameters”options
Section titled “options”Harness name plus the callback that issues the judge prompt.
Returns
Section titled “Returns”Example
Section titled “Example”const judgeHarness = createJudgeHarness({ run: async ({ prompt }) => callJudgeModel(prompt),});