Property OverflowStrategy
- Namespace
- LMKit.TextGeneration
- Assembly
- LM-Kit.NET.dll
OverflowStrategy
Gets or sets the strategy for handling inputs that exceed the configured MaximumContextLength.
public Summarizer.OverflowResolutionStrategy OverflowStrategy { get; set; }
Property Value
- Summarizer.OverflowResolutionStrategy
The default value is RecursiveSummarize.
Examples
var model = LM.LoadFromModelID("gemma3:4b");
var summarizer = new LMKit.TextGeneration.Summarizer(model)
{
OverflowResolutionMode = LMKit.TextGeneration.Summarizer.OverflowResolutionStrategy.Truncate
};