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.



2820
2821
2822
# File 'lib/google/apis/ces_v1/classes.rb', line 2820

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



2808
2809
2810
# File 'lib/google/apis/ces_v1/classes.rb', line 2808

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



2813
2814
2815
# File 'lib/google/apis/ces_v1/classes.rb', line 2813

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



2818
2819
2820
# File 'lib/google/apis/ces_v1/classes.rb', line 2818

def turn_level_metrics_thresholds
  @turn_level_metrics_thresholds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2825
2826
2827
2828
2829
# File 'lib/google/apis/ces_v1/classes.rb', line 2825

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