Skip to main content

TrimmingStrategy

Namespace: Wisej.AI

Assembly: Wisej.AI

Specifies the strategy for handling context overflow in a session.

public enum TrimmingStrategy : Enum

Fields​

NameDescription
RollingWindowUses a rolling window strategy to handle context overflow.
SummarizationUses summarization to handle context overflow.

Used By​

NameDescription
DefaultSessionTrimmingService.TrimmingStrategyGets or sets the strategy for handling context overflow.
ISessionTrimmingService.TrimmingStrategyGets or sets the strategy for handling context overflow.