Table of Contents

Enum RoleMappingPolicy

Namespace
LMKit.Finetuning.Export
Assembly
LM-Kit.NET.dll

Specifies how unrecognized message roles are handled during export.

public enum RoleMappingPolicy

Fields

Strict = 0

Leaves roles unchanged. Callers are responsible for ensuring compatibility with the target schema.

CoerceUnknownToUser = 1

Coerces any unrecognized role to "user".

DropUnknown = 2

Drops messages with unrecognized roles from the exported dataset.