Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#errorString

Error messages from the extension or during response parsing. Corresponds to the JSON property error

Returns:

  • (String)


19281
19282
19283
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19281

def error
  @error
end

#extension_instructionString

Planner's instruction to the extension. Corresponds to the JSON property extensionInstruction

Returns:

  • (String)


19286
19287
19288
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19286

def extension_instruction
  @extension_instruction
end

#extension_invokedString

Planner's choice of extension to invoke. Corresponds to the JSON property extensionInvoked

Returns:

  • (String)


19291
19292
19293
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19291

def extension_invoked
  @extension_invoked
end

#responseString

Response of the extension. Corresponds to the JSON property response

Returns:

  • (String)


19296
19297
19298
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19296

def response
  @response
end

#successBoolean 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

Returns:

  • (Boolean)


19302
19303
19304
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19302

def success
  @success
end

#thoughtString

Planner's thought. Corresponds to the JSON property thought

Returns:

  • (String)


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