From 3b0939819b91412c32873e5cd111243a90938265 Mon Sep 17 00:00:00 2001 From: hart_s3 Date: Wed, 4 Feb 2026 15:52:29 +0100 Subject: [PATCH] Update PowerPoint assistant: improve Markdown formatting instructions and refine UI text labels --- app/MindWork AI Studio/Assistants/I18N/allTexts.lua | 7 ++----- .../Assistants/PowerPoint/PowerPoint.razor.cs | 8 ++++++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/MindWork AI Studio/Assistants/I18N/allTexts.lua b/app/MindWork AI Studio/Assistants/I18N/allTexts.lua index 879f33df..e6db2523 100644 --- a/app/MindWork AI Studio/Assistants/I18N/allTexts.lua +++ b/app/MindWork AI Studio/Assistants/I18N/allTexts.lua @@ -1264,9 +1264,6 @@ UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::MYTASKS::ASSISTANTMYTASKS::T534887559"] = -- Please provide a custom language. UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::MYTASKS::ASSISTANTMYTASKS::T656744944"] = "Please provide a custom language." --- Please provide a target group. -UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T1252056165"] = "Please provide a target group." - -- Your title UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T1790167032"] = "Your title" @@ -1276,8 +1273,8 @@ UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T2194178916"] = " -- Create and refine PowerPoint slide text from a topic or outline. UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T2255686621"] = "Create and refine PowerPoint slide text from a topic or outline." --- Language -UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T2591284123"] = "Language" +-- Target language +UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T237828418"] = "Target language" -- Target group UI_TEXT_CONTENT["AISTUDIO::ASSISTANTS::POWERPOINT::POWERPOINT::T2709966651"] = "Target group" diff --git a/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs b/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs index c2f6e3c6..07330c00 100644 --- a/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs +++ b/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs @@ -22,13 +22,17 @@ public partial class PowerPoint : AssistantBaseCore {this.inputText} - "Your content": the source text. {this.selectedTargetGroup.Prompt()} + + - You are a Markdown formatter. + - Your task is to identify headings in the input text that are marked with either # (for h1–h6) or **bold text** (used as pseudo-headings). + - Convert all such headings into proper Markdown subheadings using ## for subheadings (level 2), preserving the original text. + - Do not change any other content. + - between 3 and 7, maximum 7 bullets per heading. Each bullet max 12 words. Output requirements: - Output only Markdown. - Start with a single H1 title from "Your title". - Then add a bullet list based only on "Your content". - - between 3 and 7, maximum 7 bullets. Each bullet max 12 words. - - No sub-bullets, no paragraphs, no extra sections. - If "Your content" is empty, output the title and one bullet: "No content provided." - Do not mention these instructions or add commentary. """;