mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-29 13:51:37 +00:00
27 lines
982 B
Plaintext
27 lines
982 B
Plaintext
@inherits MSGComponentBase
|
|
|
|
<MudDialog>
|
|
<DialogContent>
|
|
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
|
@T("The full prompting guideline used by the Prompt Optimizer.")
|
|
</MudJustifiedText>
|
|
|
|
<MudField
|
|
Variant="Variant.Outlined"
|
|
AdornmentIcon="@Icons.Material.Filled.MenuBook"
|
|
Adornment="Adornment.Start"
|
|
Label="@T("Prompting Guideline")"
|
|
FullWidth="true"
|
|
Class="ma-2 pe-4">
|
|
<div style="max-height: 62vh; overflow-y: auto;">
|
|
<MudMarkdown Value="@this.GuidelineMarkdown" Props="Markdown.DefaultConfig" Styling="@this.MarkdownStyling" MarkdownPipeline="Markdown.SAFE_MARKDOWN_PIPELINE"/>
|
|
</div>
|
|
</MudField>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="@this.Close" Variant="Variant.Filled" Color="Color.Primary">
|
|
@T("Close")
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog>
|