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.



2987
2988
2989
# File 'lib/google/apis/ces_v1/classes.rb', line 2987

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



2975
2976
2977
# File 'lib/google/apis/ces_v1/classes.rb', line 2975

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



2980
2981
2982
# File 'lib/google/apis/ces_v1/classes.rb', line 2980

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



2985
2986
2987
# File 'lib/google/apis/ces_v1/classes.rb', line 2985

def turn_level_metrics_thresholds
  @turn_level_metrics_thresholds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2992
2993
2994
2995
2996
# File 'lib/google/apis/ces_v1/classes.rb', line 2992

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