Table of Contents

Enum LM.TemplateFormatFlags

Namespace
LMKit.Model
Assembly
LM-Kit.NET.dll

Specifies flags that control how template formats handle system messages and suffixes when generating prompts for language models.

[Flags]
public enum LM.TemplateFormatFlags

Fields

None = 0

No special formatting is applied; default behavior is used.

NoSystemSupport = 1

Indicates that the model does not support system prompts explicitly. System messages are included by embedding them into user messages.

SystemPromptInterpolation = 2

System prompts are incorporated into the prompt by surrounding them with specific prefixes and suffixes.

SuffixFromEOSToken = 4

The suffix used in prompt formatting is derived from the End-Of-String (EOS) token.