OptimizationTaskResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Per-task evaluation result for a single candidate.
public class OptimizationTaskResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.OptimizationTaskResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.OptimizationTaskResult>
type OptimizationTaskResult = class
interface IJsonModel<OptimizationTaskResult>
interface IPersistableModel<OptimizationTaskResult>
Public Class OptimizationTaskResult
Implements IJsonModel(Of OptimizationTaskResult), IPersistableModel(Of OptimizationTaskResult)
- Inheritance
-
OptimizationTaskResult
- Implements
Properties
| Name | Description |
|---|---|
| CompositeScore |
Composite score combining all evaluator scores. |
| DurationSeconds |
Wall-clock seconds for this task's agent execution. |
| ErrorMessage |
Error message if the task failed during execution. |
| Passed |
Whether the task met the pass threshold. |
| Query |
The user query / input for the task. |
| Rationales |
Per-evaluator reasoning keyed by evaluator name. |
| Response |
Raw agent response text. |
| RunId |
Identifier of the agent run that produced this result. |
| Scores |
Per-evaluator scores keyed by evaluator name. |
| TaskName |
Task name (from the dataset). |
| Tokens |
Total tokens consumed during the agent run for this task. |