Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::OptimizationConfig (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::OptimizationConfig.

Configuration for running the optimization step after the evaluation run.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assistant_session

def assistant_session() -> ::String
Returns
  • (::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}

#error_message

def error_message() -> ::String
Returns
  • (::String) — Output only. The error message if the optimization run failed.

#generate_loss_report

def generate_loss_report() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to generate a loss report.

#generate_loss_report=

def generate_loss_report=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to generate a loss report.
Returns
  • (::Boolean) — Optional. Whether to generate a loss report.

#loss_report

def loss_report() -> ::Google::Protobuf::Struct
Returns

#report_summary

def report_summary() -> ::String
Returns
  • (::String) — Output only. The summary of the loss report.

#should_suggest_fix

def should_suggest_fix() -> ::Boolean
Returns
  • (::Boolean) — Output only. Whether to suggest a fix for the losses.

#status

def status() -> ::Google::Cloud::Ces::V1beta::OptimizationConfig::OptimizationStatus
Returns