Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
A direct memory to upload to Memory Bank.
Instance Attribute Summary collapse
-
#fact ⇒ String
Required.
-
#topics ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryTopicId>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
constructor
A new instance of GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
Returns a new instance of GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory.
16473 16474 16475 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fact ⇒ String
Required. The fact to consolidate with existing memories.
Corresponds to the JSON property fact
16466 16467 16468 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16466 def fact @fact end |
#topics ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryTopicId>
Optional. The topics that the consolidated memories should be associated with.
Corresponds to the JSON property topics
16471 16472 16473 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16471 def topics @topics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16478 16479 16480 16481 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16478 def update!(**args) @fact = args[:fact] if args.key?(:fact) @topics = args[:topics] if args.key?(:topics) end |