Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps
- 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
ReAgent execution steps.
Instance Attribute Summary collapse
-
#error ⇒ String
Error messages from the extension or during response parsing.
-
#extension_instruction ⇒ String
Planner's instruction to the extension.
-
#extension_invoked ⇒ String
Planner's choice of extension to invoke.
-
#response ⇒ String
Response of the extension.
-
#success ⇒ Boolean
(also: #success?)
When set to False, either the extension fails to execute or the response cannot be summarized.
-
#thought ⇒ String
Planner's thought.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps
constructor
A new instance of GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps
Returns a new instance of GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps.
19310 19311 19312 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19310 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ String
Error messages from the extension or during response parsing.
Corresponds to the JSON property error
19281 19282 19283 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19281 def error @error end |
#extension_instruction ⇒ String
Planner's instruction to the extension.
Corresponds to the JSON property extensionInstruction
19286 19287 19288 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19286 def extension_instruction @extension_instruction end |
#extension_invoked ⇒ String
Planner's choice of extension to invoke.
Corresponds to the JSON property extensionInvoked
19291 19292 19293 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19291 def extension_invoked @extension_invoked end |
#response ⇒ String
Response of the extension.
Corresponds to the JSON property response
19296 19297 19298 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19296 def response @response end |
#success ⇒ Boolean Also known as: success?
When set to False, either the extension fails to execute or the response
cannot be summarized.
Corresponds to the JSON property success
19302 19303 19304 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19302 def success @success end |
#thought ⇒ String
Planner's thought.
Corresponds to the JSON property thought
19308 19309 19310 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19308 def thought @thought end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19315 19316 19317 19318 19319 19320 19321 19322 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19315 def update!(**args) @error = args[:error] if args.key?(:error) @extension_instruction = args[:extension_instruction] if args.key?(:extension_instruction) @extension_invoked = args[:extension_invoked] if args.key?(:extension_invoked) @response = args[:response] if args.key?(:response) @success = args[:success] if args.key?(:success) @thought = args[:thought] if args.key?(:thought) end |