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.



2894
2895
2896
# File 'lib/google/apis/ces_v1/classes.rb', line 2894

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)


2892
2893
2894
# File 'lib/google/apis/ces_v1/classes.rb', line 2892

def extra_tool_call_behavior
  @extra_tool_call_behavior
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2899
2900
2901
# File 'lib/google/apis/ces_v1/classes.rb', line 2899

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