Table of Contents

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 AuthorRole

The role of the message's author, defined by AuthorRole.

content string

The content of the message. Can be null.