Constructor Message
- Namespace
- LMKit.TextGeneration.Chat
- Assembly
- LM-Kit.NET.dll
Message(AuthorRole, string)
Initializes a new instance of the ChatHistory.Message class with the specified author role and content.
public Message(AuthorRole authorRole, string content)
Parameters
authorRole
AuthorRoleThe role of the message's author, defined by AuthorRole.
content
stringThe content of the message. Can be
null
.