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, textual content, segments, attachments, and processing status of the message.
- Prompt
Represents a textual prompt for text generation, optionally including file attachments.
Structs
- ChatHistory.Message.MessageSegment
Represents a contiguous slice of Content with its TextSegmentType.
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.
- ReasoningLevel
Controls how much deliberate reasoning a model is encouraged to use. This value is a hint to the model/runtime (not a guarantee) and can be surfaced in prompts or runtime settings to bias response style/latency.
- TextSegmentType
Identifies the kind of segment produced by the chatbot pipeline.