Table of Contents

Property KeepLast

Namespace
LMKit.TextGeneration.Events
Assembly
LM-Kit.NET.dll

KeepLast

Gets or sets a value indicating whether to include the last generated token in the response when the generation is stopped prematurely.

public bool KeepLast { get; set; }

Property Value

bool

true to keep the last generated token in the final output; otherwise, false.

Remarks

This property is only relevant if Stop is set to true.