Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
- 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
Evaluation configs for summarization generator.
Instance Attribute Summary collapse
-
#accuracy_evaluation_version ⇒ String
Optional.
-
#completeness_evaluation_version ⇒ String
Optional.
-
#enable_accuracy_evaluation ⇒ Boolean
(also: #enable_accuracy_evaluation?)
Optional.
-
#enable_completeness_evaluation ⇒ Boolean
(also: #enable_completeness_evaluation?)
Optional.
-
#evaluator_version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig.
16049 16050 16051 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accuracy_evaluation_version ⇒ String
Optional. Version for summarization accuracy. This will determine the prompt
and model used at backend.
Corresponds to the JSON property accuracyEvaluationVersion
16024 16025 16026 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16024 def accuracy_evaluation_version @accuracy_evaluation_version end |
#completeness_evaluation_version ⇒ String
Optional. Version for summarization completeness. This will determine the
prompt and model used at backend.
Corresponds to the JSON property completenessEvaluationVersion
16030 16031 16032 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16030 def completeness_evaluation_version @completeness_evaluation_version end |
#enable_accuracy_evaluation ⇒ Boolean Also known as: enable_accuracy_evaluation?
Optional. Enable accuracy evaluation.
Corresponds to the JSON property enableAccuracyEvaluation
16035 16036 16037 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16035 def enable_accuracy_evaluation @enable_accuracy_evaluation end |
#enable_completeness_evaluation ⇒ Boolean Also known as: enable_completeness_evaluation?
Optional. Enable completeness evaluation.
Corresponds to the JSON property enableCompletenessEvaluation
16041 16042 16043 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16041 def enable_completeness_evaluation @enable_completeness_evaluation end |
#evaluator_version ⇒ String
Optional. Version for summarization evaluation.
Corresponds to the JSON property evaluatorVersion
16047 16048 16049 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16047 def evaluator_version @evaluator_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16054 16055 16056 16057 16058 16059 16060 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16054 def update!(**args) @accuracy_evaluation_version = args[:accuracy_evaluation_version] if args.key?(:accuracy_evaluation_version) @completeness_evaluation_version = args[:completeness_evaluation_version] if args.key?(:completeness_evaluation_version) @enable_accuracy_evaluation = args[:enable_accuracy_evaluation] if args.key?(:enable_accuracy_evaluation) @enable_completeness_evaluation = args[:enable_completeness_evaluation] if args.key?(:enable_completeness_evaluation) @evaluator_version = args[:evaluator_version] if args.key?(:evaluator_version) end |