From 766fbf16b66abceece0394bf6c2bbaf7b305e400 Mon Sep 17 00:00:00 2001 From: hart_s3 Date: Mon, 9 Feb 2026 14:40:09 +0100 Subject: [PATCH] Update SystemPrompt rules --- .../Assistants/PowerPoint/PowerPoint.razor | 2 +- .../Assistants/PowerPoint/PowerPoint.razor.cs | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor b/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor index 470254f0..cc380fcc 100644 --- a/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor +++ b/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor @@ -18,7 +18,7 @@ + Min="0.0" /> diff --git a/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs b/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs index 6b117a03..a48c6514 100644 --- a/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs +++ b/app/MindWork AI Studio/Assistants/PowerPoint/PowerPoint.razor.cs @@ -32,8 +32,9 @@ public partial class PowerPoint : AssistantBaseCore - Each subheadings must have: - A clear, concise, and thematically meaningful heading. - - 3 to 7 bullet points (max 7) summarizing the slide’s content. + - 1 to 7 bullet points (maximum 7) summarizing the slide’s content — use as many as needed, but never more than 7. - Each bullet point must be max 12 words. + - Place *** on its own line immediately before each heading. Output requirements: - Output only Markdown. @@ -91,7 +92,7 @@ public partial class PowerPoint : AssistantBaseCore private string customTargetGroup = string.Empty; private CommonLanguages selectedTargetLanguage; private double numberOfSheets; - private decimal timeSpecification; + private double timeSpecification; private int calculatedNumberOfSlides = 0; #region Overrides of ComponentBase @@ -125,7 +126,7 @@ public partial class PowerPoint : AssistantBaseCore private int CalculateNumberOfSlides() { - return this.calculatedNumberOfSlides = (int)Math.Round(this.timeSpecification / (decimal)1.5); + return this.calculatedNumberOfSlides = (int)Math.Round(this.timeSpecification / 1.5); } private string UserPromptContext()