Table of Contents

Struct ChatHistory.Message.MessageSegment

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

Represents a contiguous slice of Content with its TextSegmentType.

public readonly struct ChatHistory.Message.MessageSegment
Inherited Members

Properties

Content

Gets the segment text as a materialized string.

Length

Gets the length, in characters, of this segment.

SegmentType

Gets the segment classification applied to this slice of content.

Start

Gets the start offset (inclusive) within Content for this segment.

Methods

ToString()

Returns the segment text.