Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
- 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 LLM summarization-based compaction. When set, the session context is summarized with an LLM once it exceeds the summarizer target threshold.
Instance Attribute Summary collapse
-
#mode ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
constructor
A new instance of GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
Returns a new instance of GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig.
5477 5478 5479 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5477 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Required. The summarization mode. Only AUTO is supported for MVP.
Corresponds to the JSON property mode
5475 5476 5477 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5475 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5482 5483 5484 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5482 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |