Class: Google::Apis::CesV1::EvaluationMetricsThresholdsToolMatchingSettings

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 matching tool calls.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EvaluationMetricsThresholdsToolMatchingSettings

Returns a new instance of EvaluationMetricsThresholdsToolMatchingSettings.



3225
3226
3227
# File 'lib/google/apis/ces_v1/classes.rb', line 3225

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

Instance Attribute Details

#extra_tool_call_behaviorString

Optional. Behavior for extra tool calls. Defaults to FAIL. Corresponds to the JSON property extraToolCallBehavior

Returns:

  • (String)


3223
3224
3225
# File 'lib/google/apis/ces_v1/classes.rb', line 3223

def extra_tool_call_behavior
  @extra_tool_call_behavior
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3230
3231
3232
# File 'lib/google/apis/ces_v1/classes.rb', line 3230

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