AgentOptimizationEstimateBand Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentOptimizationEstimateBand
- com.
Implements
public final class AgentOptimizationEstimateBand
implements JsonSerializable<AgentOptimizationEstimateBand>
A low/typical/ceiling range for an estimated quantity. Cost values apply average per-call usage assumptions to each call-count scenario. Expected values may be fractional, including estimated model-call counts.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| double |
getCeiling()
Get the ceiling property: Upper bound calculated from the maximum number of model calls. |
| double |
getLow()
Get the low property: Lower estimate based on model calls required for every run. |
| double |
getTypical()
Get the typical property: Expected estimate based on model calls consumed by a typical run. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentOptimizationEstimateBand fromJson(JsonReader jsonReader)
Reads an instance of AgentOptimizationEstimateBand from the JsonReader.
Parameters:
Returns:
Throws:
getCeiling
public double getCeiling()
Get the ceiling property: Upper bound calculated from the maximum number of model calls.
Returns:
getLow
public double getLow()
Get the low property: Lower estimate based on model calls required for every run.
Returns:
getTypical
public double getTypical()
Get the typical property: Expected estimate based on model calls consumed by a typical run.
Returns: