Class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds

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

Overview

Settings for golden evaluations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds

Returns a new instance of EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds.



3151
3152
3153
# File 'lib/google/apis/ces_v1/classes.rb', line 3151

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

Instance Attribute Details

#expectation_level_metrics_thresholdsGoogle::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds

Expectation level metrics thresholds. Corresponds to the JSON property expectationLevelMetricsThresholds



3139
3140
3141
# File 'lib/google/apis/ces_v1/classes.rb', line 3139

def expectation_level_metrics_thresholds
  @expectation_level_metrics_thresholds
end

#tool_matching_settingsGoogle::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings

Settings for matching tool calls. Corresponds to the JSON property toolMatchingSettings



3144
3145
3146
# File 'lib/google/apis/ces_v1/classes.rb', line 3144

def tool_matching_settings
  @tool_matching_settings
end

#turn_level_metrics_thresholdsGoogle::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds

Turn level metrics thresholds. Corresponds to the JSON property turnLevelMetricsThresholds



3149
3150
3151
# File 'lib/google/apis/ces_v1/classes.rb', line 3149

def turn_level_metrics_thresholds
  @turn_level_metrics_thresholds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3156
3157
3158
3159
3160
# File 'lib/google/apis/ces_v1/classes.rb', line 3156

def update!(**args)
  @expectation_level_metrics_thresholds = args[:expectation_level_metrics_thresholds] if args.key?(:expectation_level_metrics_thresholds)
  @tool_matching_settings = args[:tool_matching_settings] if args.key?(:tool_matching_settings)
  @turn_level_metrics_thresholds = args[:turn_level_metrics_thresholds] if args.key?(:turn_level_metrics_thresholds)
end