CompactionTriggers.TokensBelow(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a trigger that fires when the included token count is below the specified maximum.
public static Microsoft.Agents.AI.Compaction.CompactionTrigger TokensBelow(int maxTokens);
static member TokensBelow : int -> Microsoft.Agents.AI.Compaction.CompactionTrigger
Public Shared Function TokensBelow (maxTokens As Integer) As CompactionTrigger
Parameters
- maxTokens
- Int32
The token threshold.
Returns
A CompactionTrigger that evaluates included token count.