Class OptimizationConfig (0.3.0)

OptimizationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for running the optimization step after the evaluation run.

Attributes

Name Description
generate_loss_report bool
Optional. Whether to generate a loss report.
assistant_session str
Output only. The assistant session to use for the optimization based on this evaluation run. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}
report_summary str
Output only. The summary of the loss report.
should_suggest_fix bool
Output only. Whether to suggest a fix for the losses.
status google.cloud.ces_v1beta.types.OptimizationConfig.OptimizationStatus
Output only. The status of the optimization run.
error_message str
Output only. The error message if the optimization run failed.
loss_report google.protobuf.struct_pb2.Struct
Output only. The generated loss report.

Classes

OptimizationStatus

OptimizationStatus(value)

The status of the optimization run.