Table of Contents

Enum TextSegmentType

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

Identifies the kind of segment produced by the chatbot pipeline.

public enum TextSegmentType

Fields

Undefined = 0
InternalReasoning = 1

Internal planning/reasoning content not intended to be shown or logged.

UserVisible = 2

Natural-language content intended for end users (safe to render as-is).

ToolInvocation = 3

Directive to invoke a tool/function (may require parsing and execution).

Remarks

Used by AfterTextCompletionEventArgs to help consumers decide how to render, filter, or act on a segment.