mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 05:21:36 +00:00
Update SystemPrompt rules
This commit is contained in:
parent
e99fa14a4c
commit
766fbf16b6
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -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 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.
|
- 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()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user