2026-02-11 13:18:15 +00:00
@attribute [Route(Routes.ASSISTANT_SLIDE_BUILDER)]
@inherits AssistantBaseCore<AIStudio.Dialogs.Settings.SettingsDialogSlideBuilder>
2026-01-29 12:07:52 +00:00
2026-02-24 12:43:14 +00:00
<MudTextField T="string" @bind-Text="@this.inputTitle" Validation="@this.ValidatingTitle" Adornment="Adornment.Start" Label="@T("Your title")" Variant="Variant.Outlined" Class="mb-3" UserAttributes="@USER_INPUT_ATTRIBUTES"/>
2026-01-29 12:07:52 +00:00
2026-02-27 13:46:45 +00:00
<MudTextField T="string" @bind-Text="@this.inputContent" Adornment="Adornment.Start" Lines="6" MaxLines="12" AutoGrow="@false" Label="@T("Your content")" Variant="Variant.Outlined" Class="mb-3" UserAttributes="@USER_INPUT_ATTRIBUTES"/>
<MudText Typo="Typo.h5" Class="mb-1 mt-1"> @T("Upload documents for input")</MudText>
2026-02-25 13:52:21 +00:00
<AttachDocuments Name="Upload documents for input" Layer="@DropLayers.ASSISTANTS" @bind-DocumentPaths="@this.loadedDocumentPaths" CatchAllDocuments="true" UseSmallForm="false" Provider="@this.providerSettings"/>
2026-02-27 13:46:45 +00:00
<MudTextField T="string" AutoGrow="true" Lines="2" @bind-Text="@this.importantAspects" class="mb-3 mt-5" Label="@T("(Optional) Important Aspects")" HelperText="@T("(Optional) Specify aspects that the LLM should consider when creating the slides. For example, the use of emojis or specific topics that should be highlighted.")" ShrinkLabel="true" Variant="Variant.Outlined" AdornmentIcon="@Icons.Material.Filled.List" Adornment="Adornment.Start"/>
2026-02-03 14:27:53 +00:00
2026-02-06 11:11:25 +00:00
<MudGrid>
2026-02-19 14:13:12 +00:00
<MudItem xs="4">
2026-02-06 11:11:25 +00:00
<MudNumericField @bind-Value="numberOfSheets"
2026-02-11 14:59:40 +00:00
Label="Number of slides"
Variant="Variant.Outlined"
2026-02-11 13:18:15 +00:00
Class="mb-3"
2026-02-24 12:43:14 +00:00
Min="0" />
2026-02-06 11:11:25 +00:00
</MudItem>
2026-02-19 14:13:12 +00:00
<MudItem xs="4">
<MudNumericField @bind-Value="numberOfBulletPoints"
Label="Number of bullet points"
Variant="Variant.Outlined"
Min="0"
Max="7"
Class="mb-3" />
</MudItem>
2026-02-06 11:11:25 +00:00
2026-02-19 14:13:12 +00:00
<MudItem xs="4">
2026-02-06 11:11:25 +00:00
<MudNumericField @bind-Value="timeSpecification"
2026-02-11 14:59:40 +00:00
Label="Time specification (minutes)"
Variant="Variant.Outlined"
2026-02-11 13:18:15 +00:00
Class="mb-3"
2026-02-24 12:43:14 +00:00
Min="0" />
2026-02-06 11:11:25 +00:00
</MudItem>
</MudGrid>
2026-02-03 14:27:53 +00:00
<EnumSelection T="CommonLanguages" NameFunc="@(language => language.Name())" @bind-Value="@this.selectedTargetLanguage" Icon="@Icons.Material.Filled.Translate" Label="@T("Target language")" AllowOther="@true" @bind-OtherInput="@this.customTargetLanguage" OtherValue="CommonLanguages.OTHER" LabelOther="@T("Custom target language")" ValidateOther="@this.ValidateCustomLanguage" />
2026-03-14 13:35:52 +00:00
<EnumSelection T="AudienceProfile" NameFunc="@(profile => profile.Name())" @bind-Value="@this.selectedAudienceProfile" Icon="@Icons.Material.Filled.Groups" Label="@T("Audience profile")" />
<EnumSelection T="AudienceAgeGroup" NameFunc="@(ageGroup => ageGroup.Name())" @bind-Value="@this.selectedAudienceAgeGroup" Icon="@Icons.Material.Filled.Cake" Label="@T("Audience age group")" />
<EnumSelection T="AudienceOrganizationalLevel" NameFunc="@(level => level.Name())" @bind-Value="@this.selectedAudienceOrganizationalLevel" Icon="@Icons.Material.Filled.AccountTree" Label="@T("Audience organizational level")" />
<EnumSelection T="AudienceExpertise" NameFunc="@(expertise => expertise.Name())" @bind-Value="@this.selectedAudienceExpertise" Icon="@Icons.Material.Filled.School" Label="@T("Audience expertise")" />
2026-01-29 12:50:20 +00:00
<ProviderSelection @bind-ProviderSettings="@this.providerSettings" ValidateProvider="@this.ValidatingProvider"/>