Share via


AgentEvaluationResult Class

Definition

Result for the agent evaluation evaluator run.

public class AgentEvaluationResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.AgentEvaluationResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.AgentEvaluationResult>
type AgentEvaluationResult = class
    interface IJsonModel<AgentEvaluationResult>
    interface IPersistableModel<AgentEvaluationResult>
Public Class AgentEvaluationResult
Implements IJsonModel(Of AgentEvaluationResult), IPersistableModel(Of AgentEvaluationResult)
Inheritance
AgentEvaluationResult
Implements

Properties

AdditionalDetails

Additional properties relevant to the evaluator. These will differ between evaluators.

Error

A string explaining why there was an error, if applicable.

Evaluator

Evaluator's name. This is the name of the evaluator that was used to evaluate the agent's completion.

EvaluatorId

Identifier of the evaluator.

Reason

Reasoning for the evaluation result.

RunId

The unique identifier of the run.

Score

Score of the given evaluator. No restriction on range.

Status

Status of the evaluator result. Options: Running, Completed, Failed, NotApplicable.

ThreadId

The unique identifier of the thread.

Version

Version of the evaluator that was used to evaluate the agent's completion.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AgentEvaluationResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AgentEvaluationResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgentEvaluationResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgentEvaluationResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AgentEvaluationResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to