ContextWindowCompressionConfig class final
Enables context window compression — a mechanism for managing the model's context window so that it does not exceed a given length.
- Inheritance
-
- Object
- ProtoMessage
- ContextWindowCompressionConfig
Constructors
- ContextWindowCompressionConfig({ContextWindowCompressionConfig_SlidingWindow? slidingWindow, int? triggerTokens})
- ContextWindowCompressionConfig.fromJson(Object? j)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slidingWindow → ContextWindowCompressionConfig_SlidingWindow?
-
A sliding-window mechanism.
final
- triggerTokens → int?
-
The number of tokens (before running a turn) required to trigger a context
window compression.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String