Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource

Inherits:
Object
  • Object
show all
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 conversation source for the example. This is similar to DirectContentsSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource

Returns a new instance of GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource.



20376
20377
20378
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20376

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

Instance Attribute Details

#eventsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent>

Optional. The input conversation events for the example. Corresponds to the JSON property events



20374
20375
20376
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20374

def events
  @events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20381
20382
20383
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20381

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