mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 22:08:27 +00:00
Added the Model Comparison assistant for blind comparisons of two models (#1009)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
12f26445ba
commit
b7255694cd
221 files changed
+19989
-90
No files matched your search
@@ -0,0 +1,30 @@
|
||||
@typeparam TMode
|
||||
<MudGrid Spacing="3" Class="mb-3">
|
||||
@foreach (var option in this.Options)
|
||||
{
|
||||
<MudItem xs="12" md="6">
|
||||
<MudCard Outlined="@true" Style="height: 100%; display: flex; flex-direction: column;">
|
||||
<MudCardHeader>
|
||||
<CardHeaderContent>
|
||||
<MudStack AlignItems="AlignItems.Center" Row="@true">
|
||||
<MudIcon Icon="@option.Icon" Size="Size.Large" Color="Color.Primary"/>
|
||||
<MudText Typo="Typo.h6">
|
||||
@option.Title
|
||||
</MudText>
|
||||
</MudStack>
|
||||
</CardHeaderContent>
|
||||
</MudCardHeader>
|
||||
<MudCardContent Style="flex-grow: 1;">
|
||||
<MudJustifiedText Typo="Typo.body1">
|
||||
@option.Description
|
||||
</MudJustifiedText>
|
||||
</MudCardContent>
|
||||
<MudCardActions>
|
||||
<MudButton Size="Size.Large" Variant="Variant.Filled" StartIcon="@option.Icon" OnClick="@(async () => await this.Choose(option))">
|
||||
@option.Title
|
||||
</MudButton>
|
||||
</MudCardActions>
|
||||
</MudCard>
|
||||
</MudItem>
|
||||
}
|
||||
</MudGrid>
|
||||
Reference in new issue
Block a user