AgentOptimizationJobLatency Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentOptimizationJobLatency
- com.
Implements
public final class AgentOptimizationJobLatency
implements JsonSerializable<AgentOptimizationJobLatency>
Average latency for one optimization stage and model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| Duration |
getAverageLatency()
Get the average |
| long |
getCallCount()
Get the call |
| String |
getModel()
Get the model property: Model name or deployment name measured by this entry. |
|
Agent |
getStage()
Get the stage property: Optimization stage measured by this entry. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentOptimizationJobLatency fromJson(JsonReader jsonReader)
Reads an instance of AgentOptimizationJobLatency from the JsonReader.
Parameters:
Returns:
Throws:
getAverageLatency
public Duration getAverageLatency()
Get the averageLatency property: Average per-call latency, rounded to milliseconds.
Returns:
getCallCount
public long getCallCount()
Get the callCount property: Total number of calls contributing to this entry.
Returns:
getModel
public String getModel()
Get the model property: Model name or deployment name measured by this entry.
Returns:
getStage
public AgentOptimizationStage getStage()
Get the stage property: Optimization stage measured by this entry.
Returns: