Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory

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

A direct memory to upload to Memory Bank.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory

Returns a new instance of GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory.



19484
19485
19486
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19484

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

Instance Attribute Details

#factString

Required. The fact to consolidate with existing memories. Corresponds to the JSON property fact

Returns:

  • (String)


19477
19478
19479
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19477

def fact
  @fact
end

#topicsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryTopicId>

Optional. The topics that the consolidated memories should be associated with. Corresponds to the JSON property topics



19482
19483
19484
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19482

def topics
  @topics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19489
19490
19491
19492
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19489

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