AgentOptimizationEstimateResult Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentOptimizationEstimateResult
- com.
Implements
public final class AgentOptimizationEstimateResult
implements JsonSerializable<AgentOptimizationEstimateResult>
Result returned when estimating an agent-optimization job.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
|
Agent |
getCallCounts()
Get the call |
|
Agent |
getCost()
Get the cost property: Estimated monetary cost. |
|
Offset |
getPricesAsOf()
Get the prices |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentOptimizationEstimateResult fromJson(JsonReader jsonReader)
Reads an instance of AgentOptimizationEstimateResult from the JsonReader.
Parameters:
Returns:
Throws:
getCallCounts
public AgentOptimizationStageEstimate getCallCounts()
Get the callCounts property: Estimated model-call counts grouped by optimization stage. Typical values are calibrated expectations and may be fractional.
Returns:
getCost
public AgentOptimizationCostEstimate getCost()
Get the cost property: Estimated monetary cost. Omitted when no contributing model has pricing data.
Returns:
getPricesAsOf
public OffsetDateTime getPricesAsOf()
Get the pricesAsOf property: Timestamp of the pricing snapshot used for cost estimation, represented in Unix time. Omitted when no valid pricing snapshot is available.
Returns: