feat: Introduce Summary and Professional skills, replacing the old style mode and text structuring configuration options.
This commit is contained in:
@@ -30,6 +30,9 @@ public static class PromptBuilder
|
||||
if (config.ModulePunctuation)
|
||||
{
|
||||
sb.AppendLine("- Apply standard punctuation, grammar, and capitalization rules.");
|
||||
sb.AppendLine("- Preserve the exact original tone, rhythm, and word choice of the speaker.");
|
||||
sb.AppendLine("- ONLY fix obvious grammatical errors, spelling mistakes, and bad punctuation.");
|
||||
sb.AppendLine("- Do not attempt to formalize the language or alter the speaker's personal voice and cadence.");
|
||||
}
|
||||
|
||||
if (config.ModuleTechnicalSanitization)
|
||||
@@ -37,29 +40,6 @@ public static class PromptBuilder
|
||||
sb.AppendLine("- Ensure technical terms are properly formatted (e.g., 'C#' instead of 'c sharp', 'HANA' instead of 'hana', 'SAP' instead of 'sap', 'API', 'SQL').");
|
||||
}
|
||||
|
||||
switch (config.StyleMode.ToLowerInvariant())
|
||||
{
|
||||
case "professional":
|
||||
sb.AppendLine("- Rewrite the text into formal prose suitable for emails or professional documents.");
|
||||
break;
|
||||
case "concise":
|
||||
sb.AppendLine("- Summarize the text, removing fluff and filler for quick notes.");
|
||||
break;
|
||||
case "casual":
|
||||
sb.AppendLine("- Maintain the original rhythm and tone but fix spelling and grammar.");
|
||||
break;
|
||||
}
|
||||
|
||||
if (config.StructureBulletPoints)
|
||||
{
|
||||
sb.AppendLine("- Format the output as a bulleted list where appropriate.");
|
||||
}
|
||||
|
||||
if (config.StructureSmartParagraphing)
|
||||
{
|
||||
sb.AppendLine("- Break the text logically into paragraphs based on context.");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user