Update SystemPrompt rules

This commit is contained in:
hart_s3 2026-02-09 14:40:09 +01:00
parent e99fa14a4c
commit 766fbf16b6
2 changed files with 5 additions and 4 deletions

View File

@ -18,7 +18,7 @@
<MudNumericField @bind-Value="timeSpecification" <MudNumericField @bind-Value="timeSpecification"
Label="Time specification" Label="Time specification"
Variant="Variant.Text" Variant="Variant.Text"
Step=".2M" /> Min="0.0" />
</MudItem> </MudItem>
</MudGrid> </MudGrid>

View File

@ -32,8 +32,9 @@ public partial class PowerPoint : AssistantBaseCore<SettingsDialogPowerPoint>
- Each subheadings must have: - Each subheadings must have:
- A clear, concise, and thematically meaningful heading. - A clear, concise, and thematically meaningful heading.
- 3 to 7 bullet points (max 7) summarizing the slides content. - 1 to 7 bullet points (maximum 7) summarizing the slides content use as many as needed, but never more than 7.
- Each bullet point must be max 12 words. - Each bullet point must be max 12 words.
- Place *** on its own line immediately before each heading.
Output requirements: Output requirements:
- Output only Markdown. - Output only Markdown.
@ -91,7 +92,7 @@ public partial class PowerPoint : AssistantBaseCore<SettingsDialogPowerPoint>
private string customTargetGroup = string.Empty; private string customTargetGroup = string.Empty;
private CommonLanguages selectedTargetLanguage; private CommonLanguages selectedTargetLanguage;
private double numberOfSheets; private double numberOfSheets;
private decimal timeSpecification; private double timeSpecification;
private int calculatedNumberOfSlides = 0; private int calculatedNumberOfSlides = 0;
#region Overrides of ComponentBase #region Overrides of ComponentBase
@ -125,7 +126,7 @@ public partial class PowerPoint : AssistantBaseCore<SettingsDialogPowerPoint>
private int CalculateNumberOfSlides() 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() private string UserPromptContext()