Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource
- 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
Defines a direct source of content from which to generate the memories.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource
constructor
A new instance of GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource
Returns a new instance of GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource.
19484 19485 19486 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#events ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSourceEvent>
Required. The source content (i.e. chat history) to generate memories from.
Corresponds to the JSON property events
19482 19483 19484 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19482 def events @events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19489 19490 19491 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19489 def update!(**args) @events = args[:events] if args.key?(:events) end |