Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigEventEditingConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigEventEditingConfig
- 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
-
#mode ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1CompactionConfigEventEditingConfig
constructor
A new instance of GoogleCloudAiplatformV1CompactionConfigEventEditingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#mode ⇒ String
Required. The event-editing mode. Only AUTO is supported for MVP.
Corresponds to the JSON property mode
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 |