Enum FormalityLevel
Formality levels for translation.
public enum FormalityLevel
Fields
VeryFormal = 0Very formal, official.
Formal = 1Formal, professional.
Neutral = 2Neutral, standard.
Informal = 3Informal, friendly.
Casual = 4Casual, colloquial.
Examples
Translating with a neutral register suitable for general audiences:
using LMKit.Agents.Templates;
var translator = new TranslationAgentTemplate { Formality = FormalityLevel.Neutral };