WindowStrategy Type
Strategy for managing conversation history length
Union cases
| Union case |
Description
|
Full Usage:
LastN int
Parameters:
int
|
Keep only the last N messages
|
Full Usage:
SummarizeAfter threshold
Parameters:
int
|
Summarize messages older than the threshold count, keeping recent ones
|
Full Usage:
TokenBudget maxTokens
Parameters:
int
|
Keep messages that fit within an estimated token budget
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsLastN
Returns: bool
|
|
Full Usage:
this.IsSummarizeAfter
Returns: bool
|
|
Full Usage:
this.IsTokenBudget
Returns: bool
|
|
Nao