ModelJudgePrompt
A configuration for how a model-as-judge evaluator constructs its prompt.
Declaration
struct ModelJudgePrompt<Input> where Input : ModelSampleProtocolMentioned in
Overview
let prompt = ModelJudgePrompt<ModelSample<String>>(
instructions: "You are a domain expert evaluating product reviews."
)ModelJudgePrompt bundles the instructions, response presentation, and reference-data injection into a single composable value. Use it with ModelJudgeEvaluator to customize how the model as judge sees the evaluation.