Skip to content

Verdict

autogen.beta.eval.scorers.judge.Verdict #

Bases: BaseModel

One judge's structured grade on a single criterion.

Both fields are required (no optionals): OpenAI's strict structured-output mode rejects a schema whose required omits any property, so an optional field would make the judge unusable on OpenAI.

score class-attribute instance-attribute #

score = Field(description="Numeric grade for this one criterion, within the judge's scale (higher is better).")

reasoning class-attribute instance-attribute #

reasoning = Field(description='A brief justification for the score.')