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 = new LMKit.Model.LM("my-model.gguf");
var summarizer = new LMKit.TextGeneration.Summarizer(model)
{
OverflowResolutionMode = LMKit.TextGeneration.Summarizer.OverflowResolutionStrategy.Truncate
};