Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource

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

Defines a direct source of content from which to generate the memories.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource

Returns a new instance of GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource.



15466
15467
15468
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15466

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

Instance Attribute Details

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

Required. The source content (i.e. chat history) to generate memories from. Corresponds to the JSON property events



15464
15465
15466
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15464

def events
  @events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15471
15472
15473
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15471

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