buildDesanitizations function
Desanitization map for Neomage API tag normalization. Neomage cannot see the full XML tags (they are sanitized), so it outputs shortened versions. This map restores them.
Implementation
Map<String, String> buildDesanitizations() {
return {
// XML tag restorations
'\n\nH:': '\n\nHuman:',
'\n\nA:': '\n\nAssistant:',
};
}