Skip to content

Function: buildJudgePrompt()

ts
function buildJudgePrompt(probe): string;

Defined in: packages/core/src/introspection/SemanticProbe.ts:208

Build the evaluation prompt for the LLM judge.

The prompt is structured to elicit a JSON-formatted response with specific fields for programmatic parsing.

Parameters

ParameterTypeDescription
probeSemanticProbeThe semantic probe to evaluate

Returns

string

Complete evaluation prompt