AgentOptimizationStageEstimate Class

  • java.lang.Object
    • com.azure.ai.agents.models.AgentOptimizationStageEstimate

Implements

public final class AgentOptimizationStageEstimate
implements JsonSerializable<AgentOptimizationStageEstimate>

Estimated values grouped by optimization stage.

Method Summary

Modifier and Type Method and Description
static AgentOptimizationStageEstimate fromJson(JsonReader jsonReader)

Reads an instance of AgentOptimizationStageEstimate from the JsonReader.

AgentOptimizationEstimateBand getAgent()

Get the agent property: Estimated values for calls made by the agent being optimized.

AgentOptimizationEstimateBand getEvaluation()

Get the evaluation property: Estimated values for calls that evaluate candidate quality.

AgentOptimizationEstimateBand getOptimization()

Get the optimization property: Estimated values for calls that generate candidate changes.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static AgentOptimizationStageEstimate fromJson(JsonReader jsonReader)

Reads an instance of AgentOptimizationStageEstimate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentOptimizationStageEstimate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AgentOptimizationStageEstimate.

getAgent

public AgentOptimizationEstimateBand getAgent()

Get the agent property: Estimated values for calls made by the agent being optimized.

Returns:

the agent value.

getEvaluation

public AgentOptimizationEstimateBand getEvaluation()

Get the evaluation property: Estimated values for calls that evaluate candidate quality.

Returns:

the evaluation value.

getOptimization

public AgentOptimizationEstimateBand getOptimization()

Get the optimization property: Estimated values for calls that generate candidate changes.

Returns:

the optimization value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to