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 = 0For internal purposes only. Do not use.
InternalReasoning = 1Internal planning/reasoning content not intended to be shown or logged.
UserVisible = 2Natural-language content intended for end users (safe to render as-is).
ToolInvocation = 3Directive to invoke a tool/function (may require parsing and execution).
ToolResponse = 4Data returned by a previously invoked tool/function (raw or structured); not intended for direct rendering without validation/sanitization.
Remarks
Used by AfterTextCompletionEventArgs to help consumers decide how to render, filter, or act on a segment.