Table of Contents

Property TerminationReason

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

TerminationReason

Gets the reason why the assistant's text generation process was terminated.

public TextGenerationResult.StopReason TerminationReason { get; }

Property Value

TextGenerationResult.StopReason

Remarks

This property is meaningful only when the AuthorRole is set to Assistant. For other roles, it will always be Unknown.