Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Step
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Step
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
A step in the interaction.
Instance Attribute Summary collapse
-
#model_output ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ModelOutputStep
Output generated by the model.
-
#thought ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtStep
A thought step.
-
#tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallStep
Tool call step.
-
#tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultStep
Tool result step.
-
#user_input ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UserInputStep
Input provided by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1Step
constructor
A new instance of GenaiVertexV1beta1Step.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1Step
Returns a new instance of GenaiVertexV1beta1Step.
4001 4002 4003 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_output ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ModelOutputStep
Output generated by the model.
Corresponds to the JSON property modelOutput
3979 3980 3981 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3979 def model_output @model_output end |
#thought ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtStep
A thought step.
Corresponds to the JSON property thought
3984 3985 3986 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3984 def thought @thought end |
#tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallStep
Tool call step.
Corresponds to the JSON property toolCall
3989 3990 3991 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3989 def tool_call @tool_call end |
#tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultStep
Tool result step.
Corresponds to the JSON property toolResult
3994 3995 3996 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3994 def tool_result @tool_result end |
#user_input ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UserInputStep
Input provided by the user.
Corresponds to the JSON property userInput
3999 4000 4001 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3999 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4006 4007 4008 4009 4010 4011 4012 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4006 def update!(**args) @model_output = args[:model_output] if args.key?(:model_output) @thought = args[:thought] if args.key?(:thought) @tool_call = args[:tool_call] if args.key?(:tool_call) @tool_result = args[:tool_result] if args.key?(:tool_result) @user_input = args[:user_input] if args.key?(:user_input) end |