Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Generator evaluation input config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig

Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig.



15892
15893
15894
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15892

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#input_data_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig

Input data config details Corresponds to the JSON property inputDataConfig



15877
15878
15879
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15877

def input_data_config
  @input_data_config
end

#output_gcs_bucket_pathString

Required. The output Cloud Storage bucket path to store eval files, e.g. per_summary_accuracy_score report. This path is provided by customer and files stored in it are visible to customer, no internal data should be stored in this path. Corresponds to the JSON property outputGcsBucketPath

Returns:

  • (String)


15885
15886
15887
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15885

def output_gcs_bucket_path
  @output_gcs_bucket_path
end

#summarization_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig

Evaluation configs for summarization generator. Corresponds to the JSON property summarizationConfig



15890
15891
15892
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15890

def summarization_config
  @summarization_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15897
15898
15899
15900
15901
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15897

def update!(**args)
  @input_data_config = args[:input_data_config] if args.key?(:input_data_config)
  @output_gcs_bucket_path = args[:output_gcs_bucket_path] if args.key?(:output_gcs_bucket_path)
  @summarization_config = args[:summarization_config] if args.key?(:summarization_config)
end