OptimizationConfig

Configuration for running the optimization step after the evaluation run.

JSON representation
{
  "generateLossReport": boolean,
  "assistantSession": string,
  "reportSummary": string,
  "shouldSuggestFix": boolean,
  "status": enum (OptimizationConfig.OptimizationStatus),
  "errorMessage": string,
  "lossReport": {
    object
  }
}
Fields
generateLossReport

boolean

Optional. Whether to generate a loss report.

assistantSession

string

Output only. The assistant session to use for the optimization based on this evaluation run. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}

reportSummary

string

Output only. The summary of the loss report.

shouldSuggestFix

boolean

Output only. Whether to suggest a fix for the losses.

status

enum (OptimizationConfig.OptimizationStatus)

Output only. The status of the optimization run.

errorMessage

string

Output only. The error message if the optimization run failed.

lossReport

object (Struct format)

Output only. The generated loss report.

OptimizationConfig.OptimizationStatus

The status of the optimization run.

Enums
OPTIMIZATION_STATUS_UNSPECIFIED Optimization status is not specified.
RUNNING Optimization is running.
COMPLETED Optimization has completed.
ERROR Optimization failed due to an internal error.