Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SherlockStep
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SherlockStep
- 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
-
#text_input ⇒ Array<String>
Output only.
-
#thought ⇒ String
Output only.
-
#tool_calls ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ToolCall>
Output only.
-
#tool_output ⇒ Hash<String,Object>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SherlockStep
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1SherlockStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SherlockStep
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1SherlockStep.
17023 17024 17025 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text_input ⇒ Array<String>
Output only. Natural language input stimulus.
Corresponds to the JSON property textInput
17006 17007 17008 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17006 def text_input @text_input end |
#thought ⇒ String
Output only. The reasoning or internal monologue of the agent.
Corresponds to the JSON property thought
17011 17012 17013 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17011 def thought @thought end |
#tool_calls ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ToolCall>
Output only. The tool call issued by the agent.
Corresponds to the JSON property toolCalls
17016 17017 17018 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17016 def tool_calls @tool_calls end |
#tool_output ⇒ Hash<String,Object>
Output only. The output response from the tool execution.
Corresponds to the JSON property toolOutput
17021 17022 17023 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17021 def tool_output @tool_output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17028 17029 17030 17031 17032 17033 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17028 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 |