Table of Contents

Property Stop

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

Stop

Gets or sets a value indicating whether the text completion process should be stopped prematurely.

public bool Stop { get; set; }

Property Value

bool

true to halt the ongoing text generation immediately; otherwise, false.

Remarks

If set to true, the generation process will stop after this token. You may optionally retain the last generated token in the final output by setting KeepLast.