Enum AuthorRole
- Namespace
- LMKit.TextGeneration.Chat
- Assembly
- LM-Kit.NET.dll
Specifies the role of the message author within a chat history.
public enum AuthorRole
Fields
Undefined = 0
An undefined role. Intended for internal use only; should not be used in application code.
System = 1
A system message that sets the assistant's behavior and context. Not authored by the user or the assistant.
User = 2
A message authored by the user.
Assistant = 3
A message generated by the assistant (language model).
TextRun = 4
A plain text segment inserted into the chat history without any associated author or special formatting.
BeginOfNewConversation = 5
An empty message indicating the start of a new conversation. Primarily used when building training datasets stored with a
ChatHistory
object.