You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[API Proposal]: Expose evaluator chain of thought as structured data on EvaluationMetric #7805
The quality evaluators in Microsoft.Extensions.AI.Evaluation.Quality ask the judge model for (chain of thought), (reason) and (score). Reason and Value are first-class properties on the metric. The chain of thought is only available as an Informational diagnostic, prefixed with a hardcoded English label (EvaluationMetricExtensions.cs#L76-L80):
We show evaluation results to end users in a localized product, and we instruct the judge to answer in the user's language. The chain of thought comes back localized, but the only way to get it is to string-match the English label. That breaks silently if the wording changes, and it mixes developer diagnostics with user-facing content.
API Proposal
Store the parsed chain of thought in EvaluationMetric.Metadata under a documented
Activity