Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigEventEditingConfig

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

Configuration for event-history editing-based compaction. When set, the event history is rewritten in place using deterministic rules (e.g. truncating/ masking oversized tool responses, stripping model thoughts).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CompactionConfigEventEditingConfig

Returns a new instance of GoogleCloudAiplatformV1CompactionConfigEventEditingConfig.



5456
5457
5458
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5456

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

Instance Attribute Details

#modeString

Required. The event-editing mode. Only AUTO is supported for MVP. Corresponds to the JSON property mode

Returns:

  • (String)


5454
5455
5456
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5454

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5461
5462
5463
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5461

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