Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig

Inherits:
Object
  • Object
show all
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

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) ⇒ GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig

Returns a new instance of GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig.



12679
12680
12681
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12679

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)


12677
12678
12679
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12677

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12684
12685
12686
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12684

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