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.



3192
3193
3194
# File 'lib/google/apis/ces_v1/classes.rb', line 3192

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)


3190
3191
3192
# File 'lib/google/apis/ces_v1/classes.rb', line 3190

def extra_tool_call_behavior
  @extra_tool_call_behavior
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3197
3198
3199
# File 'lib/google/apis/ces_v1/classes.rb', line 3197

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