mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-30 14:51:38 +00:00
Add configurable bullet point count per slide in SlideAssistant
This commit is contained in:
parent
3346f3218c
commit
ac3135f84d
@ -7,15 +7,24 @@
|
||||
<ReadFileContent @bind-FileContent="@this.inputContext"/>
|
||||
|
||||
<MudGrid>
|
||||
<MudItem xs="6">
|
||||
<MudItem xs="4">
|
||||
<MudNumericField @bind-Value="numberOfSheets"
|
||||
Label="Number of slides"
|
||||
Variant="Variant.Outlined"
|
||||
Class="mb-3"
|
||||
Min="0.0" />
|
||||
</MudItem>
|
||||
|
||||
<MudItem xs="4">
|
||||
<MudNumericField @bind-Value="numberOfBulletPoints"
|
||||
Label="Number of bullet points"
|
||||
Variant="Variant.Outlined"
|
||||
Min="0"
|
||||
Max="7"
|
||||
Class="mb-3" />
|
||||
</MudItem>
|
||||
|
||||
<MudItem xs="6">
|
||||
<MudItem xs="4">
|
||||
<MudNumericField @bind-Value="timeSpecification"
|
||||
Label="Time specification (minutes)"
|
||||
Variant="Variant.Outlined"
|
||||
|
||||
@ -30,12 +30,17 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
||||
- If {{{this.timeSpecification}}} is NOT 0
|
||||
- Generate exactly {{{this.calculatedNumberOfSlides}}} precise subheadings, each heading represents one slide in a presentation.
|
||||
- If either parameter is 0, ignore that rules.
|
||||
|
||||
- Each subheadings must have:
|
||||
- A clear, concise, and thematically meaningful heading.
|
||||
- 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.
|
||||
- Each subheadings must have:
|
||||
- A clear, concise, and thematically meaningful heading.
|
||||
- Place *** on its own line immediately before each heading.
|
||||
|
||||
# BulletPoints (Per Subheading)
|
||||
- You MUST generate exactly this {{{this.numberOfBulletPoints}}} many bullet points per subheading:
|
||||
- Set as many bullet points as specified by variable {{{this.numberOfBulletPoints}}}.
|
||||
- If {{{this.numberOfBulletPoints}}} == 0 → choose a number between 1 and 7 (your choice, but max 7).
|
||||
- Each bullet point must have:
|
||||
- Each bullet point must be max 12 words.
|
||||
- Clear and directly related to the subheading and summarizing the slide’s content.
|
||||
|
||||
# Output requirements:
|
||||
- Output only Markdown.
|
||||
@ -104,6 +109,7 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
||||
private TargetGroup selectedTargetGroup;
|
||||
private CommonLanguages selectedTargetLanguage;
|
||||
private double numberOfSheets;
|
||||
private double numberOfBulletPoints;
|
||||
private double timeSpecification;
|
||||
private int calculatedNumberOfSlides = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user