Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata

Returns a new instance of GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata.



19263
19264
19265
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19263

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

Instance Attribute Details

#stepsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadataReAgentSteps>

ReAgent execution steps. Corresponds to the JSON property steps



19254
19255
19256
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19254

def steps
  @steps
end

#use_creativityBoolean Also known as: use_creativity?

Whether the reasoning agent used creativity (instead of extensions provided) to build the response. Corresponds to the JSON property useCreativity

Returns:

  • (Boolean)


19260
19261
19262
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19260

def use_creativity
  @use_creativity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19268
19269
19270
19271
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19268

def update!(**args)
  @steps = args[:steps] if args.key?(:steps)
  @use_creativity = args[:use_creativity] if args.key?(:use_creativity)
end