Skip to content

ModelRunJudgeOptions

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Options for the built-in model-based judge (ModelRunJudge).

public sealed class ModelRunJudgeOptions

objectModelRunJudgeOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Values do not come from a configuration section. Since ModelBinding is a nested type, this project configures it in code through AgentPrismOnlineEvaluationBuilderExtensions.AddModelRunJudge.

public ModelRunJudgeOptions()

The scoring criteria. They form the prompt body.

public IList<string> Criteria { get; }

IList<string>

Additional instructions for the judge.

public string? Instructions { get; set; }

string?

The judge model.

public required ModelBinding Model { get; set; }

ModelBinding

Select this separately from the measured agent model. A lower-cost model is sufficient and reduces cost. The same model would systematically bias scoring of its own output, so this is required and has no default.