Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainSherlockStep

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

A step in the agent's reasoning process (Trajectory Step).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1mainSherlockStep

Returns a new instance of GoogleCloudContactcenterinsightsV1mainSherlockStep.



24017
24018
24019
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 24017

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

Instance Attribute Details

#text_inputArray<String>

Output only. Natural language input stimulus. Corresponds to the JSON property textInput

Returns:

  • (Array<String>)


24000
24001
24002
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 24000

def text_input
  @text_input
end

#thoughtString

Output only. The reasoning or internal monologue of the agent. Corresponds to the JSON property thought

Returns:

  • (String)


24005
24006
24007
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 24005

def thought
  @thought
end

#tool_callsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainToolCall>

Output only. The tool call issued by the agent. Corresponds to the JSON property toolCalls



24010
24011
24012
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 24010

def tool_calls
  @tool_calls
end

#tool_outputHash<String,Object>

Output only. The output response from the tool execution. Corresponds to the JSON property toolOutput

Returns:

  • (Hash<String,Object>)


24015
24016
24017
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 24015

def tool_output
  @tool_output
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24022
24023
24024
24025
24026
24027
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 24022

def update!(**args)
  @text_input = args[:text_input] if args.key?(:text_input)
  @thought = args[:thought] if args.key?(:thought)
  @tool_calls = args[:tool_calls] if args.key?(:tool_calls)
  @tool_output = args[:tool_output] if args.key?(:tool_output)
end