Class ChatHistory.Message
- Namespace
- LMKit.TextGeneration.Chat
- Assembly
- LM-Kit.NET.dll
Represents a chat message, encapsulating the data and properties of a message exchanged in a chat conversation.
public sealed class ChatHistory.Message : INotifyPropertyChanged
- Inheritance
-
ChatHistory.Message
- Implements
- Inherited Members
Constructors
- Message(AuthorRole, string)
Creates a new Message instance.
Properties
- AuthorRole
A member of the AuthorRole enumeration that defines the specific role of the message's author.
- Content
Specifies the message content.
- IsProcessed
Indicates whether the message has been processed.
Events
- PropertyChanged
Occurs when a property value changes.