ContextCompressionConfig

Options & Configuration · AiDotNet.RetrievalAugmentedGeneration.Configuration

Configuration for context compression strategies.

Constructors

Constructor Summary
ContextCompressionConfig()

Properties

Property Summary
Dictionary<string, object> Parameters { get; set; } Gets or sets additional parameters for the compression strategy.
bool Enabled { get; set; } Gets or sets whether context compression is enabled.
double CompressionRatio { get; set; } Gets or sets the compression ratio.
int MaxLength { get; set; } Gets or sets the maximum length after compression.
string Strategy { get; set; } Gets or sets the context compression strategy type.