Share via


AgentEvaluationRequest Class

Definition

Evaluation request for agent run.

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

Constructors

AgentEvaluationRequest(String, IDictionary<String,EvaluatorConfiguration>, String)

Initializes a new instance of AgentEvaluationRequest.

Properties

AppInsightsConnectionString

Pass the AppInsights connection string to the agent evaluation for the evaluation results and the errors logs.

Evaluators

Evaluators to be used for the evaluation.

RedactionConfiguration

Redaction configuration for the evaluation.

RunId

Identifier of the agent run.

SamplingConfiguration

Sampling configuration for the evaluation.

ThreadId

Identifier of the agent thread. This field is mandatory currently, but it will be optional in the future.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AgentEvaluationRequest>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AgentEvaluationRequest>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgentEvaluationRequest>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgentEvaluationRequest>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AgentEvaluationRequest>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to