Class ContextWindowCompressionConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Configures context window compression mechanism. If included, server will compress context window to fit into given length.
public class ContextWindowCompressionConfig
- Inheritance
-
ContextWindowCompressionConfig
- Inherited Members
- Extension Methods
Properties
SlidingWindow
Sliding window compression mechanism.
[JsonPropertyName("slidingWindow")]
public SlidingWindow? SlidingWindow { get; set; }
Property Value
TriggerTokens
Number of tokens (before running turn) that triggers context window compression mechanism.
[JsonPropertyName("triggerTokens")]
public int? TriggerTokens { get; set; }
Property Value
- int?