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.



3167
3168
3169
# File 'lib/google/apis/ces_v1/classes.rb', line 3167

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



3155
3156
3157
# File 'lib/google/apis/ces_v1/classes.rb', line 3155

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



3160
3161
3162
# File 'lib/google/apis/ces_v1/classes.rb', line 3160

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



3165
3166
3167
# File 'lib/google/apis/ces_v1/classes.rb', line 3165

def turn_level_metrics_thresholds
  @turn_level_metrics_thresholds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3172
3173
3174
3175
3176
# File 'lib/google/apis/ces_v1/classes.rb', line 3172

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