Table of Contents

Namespace LMKit.TextGeneration.Chat

Classes

ChatHistory

This class represents the chat history between a user and an assistant within a chat session.

ChatHistory.Message

Represents a chat message exchanged in a conversation, encapsulating the author, content, and processing status of the message.

Prompt

Represents a textual prompt for text generation, optionally including file attachments.

Enums

AuthorRole

Specifies the role of the message author within a chat history. Roles help the runtime and model distinguish system instructions, user prompts, model responses, tool I/O, and other non-dialogual segments.

TextSegmentType

Identifies the kind of segment produced by the chatbot pipeline.