Class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds

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

Expectation level metrics thresholds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds

Returns a new instance of EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds.



2842
2843
2844
# File 'lib/google/apis/ces_v1/classes.rb', line 2842

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

Instance Attribute Details

#tool_invocation_parameter_correctness_thresholdFloat

Optional. The success threshold for individual tool invocation parameter correctness. Must be a float between 0 and 1. Default is 1.0. Corresponds to the JSON property toolInvocationParameterCorrectnessThreshold

Returns:

  • (Float)


2840
2841
2842
# File 'lib/google/apis/ces_v1/classes.rb', line 2840

def tool_invocation_parameter_correctness_threshold
  @tool_invocation_parameter_correctness_threshold
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2847
2848
2849
# File 'lib/google/apis/ces_v1/classes.rb', line 2847

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