Share via


AgentEvaluation Class

Definition

Evaluation response for agent evaluation run.

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

Properties

Error

The reason of the request failure for the long running process, if applicable.

Id

Identifier of the agent evaluation run.

Result

The agent evaluation result.

Status

Status of the agent evaluation. Options: Running, Completed, Failed.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AgentEvaluation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AgentEvaluation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgentEvaluation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgentEvaluation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AgentEvaluation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to