AgentOptimizationCandidateEvaluation Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentOptimizationCandidateEvaluation
- com.
Implements
public final class AgentOptimizationCandidateEvaluation
implements JsonSerializable<AgentOptimizationCandidateEvaluation>
Comparative evaluation summary for a candidate.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| Duration |
getAverageLatency()
Get the average |
| Double |
getAverageScore()
Get the average |
| Double |
getAverageTokens()
Get the average |
|
Offset |
getCompletedAt()
Get the completed |
| String |
getEvaluationId()
Get the evaluation |
| String |
getEvaluationRunId()
Get the evaluation |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentOptimizationCandidateEvaluation fromJson(JsonReader jsonReader)
Reads an instance of AgentOptimizationCandidateEvaluation from the JsonReader.
Parameters:
Returns:
Throws:
getAverageLatency
public Duration getAverageLatency()
Get the averageLatency property: Average end-to-end latency per task, rounded to milliseconds.
Returns:
getAverageScore
public Double getAverageScore()
Get the averageScore property: Average composite score across evaluated tasks. Omitted until scoring produces an aggregate score.
Returns:
getAverageTokens
public Double getAverageTokens()
Get the averageTokens property: Average total tokens consumed per task. Omitted when token usage was not measured.
Returns:
getCompletedAt
public OffsetDateTime getCompletedAt()
Get the completedAt property: Timestamp when full candidate evaluation completed, represented in Unix time. Omitted when unavailable.
Returns:
getEvaluationId
public String getEvaluationId()
Get the evaluationId property: Foundry evaluation identifier used to score this candidate. Omitted when unavailable.
Returns:
getEvaluationRunId
public String getEvaluationRunId()
Get the evaluationRunId property: Foundry evaluation run identifier used to score this candidate. Omitted when unavailable.
Returns: