mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-30 23:11:37 +00:00
Add configurable bullet point count per slide in SlideAssistant
This commit is contained in:
parent
3346f3218c
commit
ac3135f84d
@ -7,7 +7,7 @@
|
|||||||
<ReadFileContent @bind-FileContent="@this.inputContext"/>
|
<ReadFileContent @bind-FileContent="@this.inputContext"/>
|
||||||
|
|
||||||
<MudGrid>
|
<MudGrid>
|
||||||
<MudItem xs="6">
|
<MudItem xs="4">
|
||||||
<MudNumericField @bind-Value="numberOfSheets"
|
<MudNumericField @bind-Value="numberOfSheets"
|
||||||
Label="Number of slides"
|
Label="Number of slides"
|
||||||
Variant="Variant.Outlined"
|
Variant="Variant.Outlined"
|
||||||
@ -15,7 +15,16 @@
|
|||||||
Min="0.0" />
|
Min="0.0" />
|
||||||
</MudItem>
|
</MudItem>
|
||||||
|
|
||||||
<MudItem xs="6">
|
<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="4">
|
||||||
<MudNumericField @bind-Value="timeSpecification"
|
<MudNumericField @bind-Value="timeSpecification"
|
||||||
Label="Time specification (minutes)"
|
Label="Time specification (minutes)"
|
||||||
Variant="Variant.Outlined"
|
Variant="Variant.Outlined"
|
||||||
|
|||||||
@ -30,13 +30,18 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
|||||||
- If {{{this.timeSpecification}}} is NOT 0
|
- If {{{this.timeSpecification}}} is NOT 0
|
||||||
- Generate exactly {{{this.calculatedNumberOfSlides}}} precise subheadings, each heading represents one slide in a presentation.
|
- Generate exactly {{{this.calculatedNumberOfSlides}}} precise subheadings, each heading represents one slide in a presentation.
|
||||||
- If either parameter is 0, ignore that rules.
|
- If either parameter is 0, ignore that rules.
|
||||||
|
|
||||||
- Each subheadings must have:
|
- Each subheadings must have:
|
||||||
- A clear, concise, and thematically meaningful heading.
|
- 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.
|
- 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 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.
|
||||||
@ -104,6 +109,7 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
|||||||
private TargetGroup selectedTargetGroup;
|
private TargetGroup selectedTargetGroup;
|
||||||
private CommonLanguages selectedTargetLanguage;
|
private CommonLanguages selectedTargetLanguage;
|
||||||
private double numberOfSheets;
|
private double numberOfSheets;
|
||||||
|
private double numberOfBulletPoints;
|
||||||
private double timeSpecification;
|
private double timeSpecification;
|
||||||
private int calculatedNumberOfSlides = 0;
|
private int calculatedNumberOfSlides = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user