Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/evals / / fenceForJudge
Function: fenceForJudge()
ts
function fenceForJudge(label, value): string;Defined in: evals/src/scorers/llm/judge.ts:124
EB-7: wrap untrusted content in unambiguous sentinel fences so the judge can tell data from instructions. Exported so caller-supplied buildPrompt functions (e.g. the prebuilt scorers, the LongMemEval judge) fence the same way the default builder does.
Parameters
| Parameter | Type |
|---|---|
label | string |
value | unknown |
Returns
string