Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation

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

Overview

Represents evaluation result of a generator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluation

Returns a new instance of GoogleCloudDialogflowV2GeneratorEvaluation.



12075
12076
12077
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12075

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

Instance Attribute Details

#complete_timeString

Output only. Completion time of this generator evaluation. Corresponds to the JSON property completeTime

Returns:

  • (String)


12021
12022
12023
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12021

def complete_time
  @complete_time
end

#create_timeString

Output only. Creation time of this generator evaluation. Corresponds to the JSON property createTime

Returns:

  • (String)


12026
12027
12028
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12026

def create_time
  @create_time
end

#display_nameString

Optional. The display name of the generator evaluation. At most 64 bytes long. Corresponds to the JSON property displayName

Returns:

  • (String)


12031
12032
12033
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12031

def display_name
  @display_name
end

#evaluation_statusGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus

A common evalaution pipeline status. Corresponds to the JSON property evaluationStatus



12036
12037
12038
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12036

def evaluation_status
  @evaluation_status
end

#generator_evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig

Generator evaluation input config. Corresponds to the JSON property generatorEvaluationConfig



12041
12042
12043
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12041

def generator_evaluation_config
  @generator_evaluation_config
end

#initial_generatorGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator

LLM generator. Corresponds to the JSON property initialGenerator



12046
12047
12048
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12046

def initial_generator
  @initial_generator
end

#nameString

Output only. Identifier. The resource name of the evaluation. Format: projects//locations//generators// evaluations/ Corresponds to the JSON property name

Returns:

  • (String)


12052
12053
12054
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12052

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Output only. A read only boolean field reflecting Zone Isolation status of the model. The field is an aggregated value of ZI status of its underlying dependencies. See more details in go/zicy-resource-placement#resource-status Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


12059
12060
12061
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12059

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. A read only boolean field reflecting Zone Separation status of the model. The field is an aggregated value of ZS status of its underlying dependencies. See more details in go/zicy-resource-placement#resource-status Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


12067
12068
12069
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12067

def satisfies_pzs
  @satisfies_pzs
end

#summarization_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics

Evaluation metrics for summarization generator. Corresponds to the JSON property summarizationMetrics



12073
12074
12075
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12073

def summarization_metrics
  @summarization_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12080

def update!(**args)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @evaluation_status = args[:evaluation_status] if args.key?(:evaluation_status)
  @generator_evaluation_config = args[:generator_evaluation_config] if args.key?(:generator_evaluation_config)
  @initial_generator = args[:initial_generator] if args.key?(:initial_generator)
  @name = args[:name] if args.key?(:name)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @summarization_metrics = args[:summarization_metrics] if args.key?(:summarization_metrics)
end