Feedback
autogen.beta.eval._types.Feedback dataclass #
A single piece of feedback produced by a scorer.
Exactly one of score or value is typically populated — score for numeric / boolean grades, value for categorical labels. Both being None is valid and represents a "no signal" feedback (e.g. a scorer that crashed mid-evaluation).
| PARAMETER | DESCRIPTION |
|---|---|
key | Stable identifier for this feedback, usually the scorer's function name. Pass rates and stats on :class: TYPE: |
score | Numeric or boolean grade. TYPE: |
value | Categorical label, used for slicing aggregates. TYPE: |
comment | Free-form human-readable explanation. Surfaces in run JSON; useful for LLM-as-judge rationales or scorer error traces. TYPE: |
detail | Optional structured evidence behind this feedback — a JSON-safe mapping serialized into the run JSON for programmatic access (e.g. a failure attribution's decisive step / responsible agent, or a judge's per-order swap verdicts). Supplementary only: aggregation never reads |