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,22 @@
|
||||
@inherits MSGComponentBase
|
||||
|
||||
<MudItem xs="12" md="6" Class="@this.ItemClass">
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1">
|
||||
@if (this.VoteChoice is not null)
|
||||
{
|
||||
<MudIcon Icon="@ModelComparisonOutcome.IconOf(this.VoteChoice, this.Model)" Color="@ModelComparisonOutcome.ColorOf(this.VoteChoice, this.Model)" Size="Size.Small"/>
|
||||
}
|
||||
<MudText Typo="Typo.body1" Color="@ModelComparisonOutcome.ColorOf(this.VoteChoice, this.Model)" Class="font-weight-bold">
|
||||
@this.Answer.Label
|
||||
</MudText>
|
||||
@if (ModelComparisonOutcome.JudgeFavors(this.JudgeChoice, this.Model))
|
||||
{
|
||||
<MudChip T="string" Icon="@AppIcons.JUDGE" Size="Size.Medium" Variant="Variant.Filled" Color="Color.Tertiary" Class="font-weight-bold">
|
||||
@T("Judge")
|
||||
</MudChip>
|
||||
}
|
||||
</MudStack>
|
||||
<MudText Typo="Typo.body2">
|
||||
@this.TimesText
|
||||
</MudText>
|
||||
</MudItem>
|
||||
Reference in new issue
Block a user