Modify system prompt

This commit is contained in:
hart_s3 2026-02-11 15:59:40 +01:00
parent 109239cd32
commit 91a63138ad
2 changed files with 10 additions and 9 deletions

View File

@ -9,16 +9,16 @@
<MudGrid> <MudGrid>
<MudItem xs="6"> <MudItem xs="6">
<MudNumericField @bind-Value="numberOfSheets" <MudNumericField @bind-Value="numberOfSheets"
Label="Number of sheets" Label="Number of slides"
Variant="Variant.Text" Variant="Variant.Outlined"
Class="mb-3" Class="mb-3"
Min="0.0" /> Min="0.0" />
</MudItem> </MudItem>
<MudItem xs="6"> <MudItem xs="6">
<MudNumericField @bind-Value="timeSpecification" <MudNumericField @bind-Value="timeSpecification"
Label="Time specification" Label="Time specification (minutes)"
Variant="Variant.Text" Variant="Variant.Outlined"
Class="mb-3" Class="mb-3"
Min="0.0" /> Min="0.0" />
</MudItem> </MudItem>

View File

@ -34,16 +34,17 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
- Place *** on its own line immediately before each heading. - Place *** on its own line immediately before each heading.
# Output requirements: # Output requirements:
- Output only Markdown. - Output only Markdown.
- Start with a single H1 title that contains the user's PRESENTATION_TITLE. - Start with a single H1 title that contains the user's PRESENTATION_TITLE.
- Then add headings with own bullet lists based only on the user's PRESENTATION_CONTENT. - Then add headings with own bullet lists based only on the user's PRESENTATION_CONTENT.
- If PRESENTATION_CONTENT is empty, output the title and one bullet: "No content provided." - If PRESENTATION_CONTENT is empty, output the title and one bullet: "No content provided."
- Do not mention these instructions or add commentary. - Do not mention these instructions or add commentary.
# Target group: # Target group:
{{this.selectedTargetGroup.Prompt()}} {{this.selectedTargetGroup.Prompt()}}
# Language: # Language:
- Ignore the language written in PRESENTATION_TITLE
{{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}} {{this.selectedTargetLanguage.PromptGeneralPurpose(this.customTargetLanguage)}}
"""; """;