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
+26
@@ -0,0 +1,26 @@
|
||||
@inherits MSGComponentBase
|
||||
|
||||
@if (this.Result.Judge is { } judge)
|
||||
{
|
||||
<MudPaper Outlined="true" Class="pa-3">
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1" Class="mb-1">
|
||||
<MudIcon Icon="@AppIcons.JUDGE" Size="Size.Small"/>
|
||||
<MudText Typo="Typo.subtitle1">
|
||||
@string.Format(ModelComparisonFormat.Culture, T("Judge: {0}"), judge.Label)
|
||||
</MudText>
|
||||
</MudStack>
|
||||
@if (judge.Completed)
|
||||
{
|
||||
<MudText Typo="Typo.body1" Class="mb-1">
|
||||
@this.PreferenceText
|
||||
</MudText>
|
||||
<ModelComparisonJudgeReasoning Reasoning="@judge.Reasoning"/>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudText Typo="Typo.body2">
|
||||
@T("The judge did not give a usable verdict.")
|
||||
</MudText>
|
||||
}
|
||||
</MudPaper>
|
||||
}
|
||||
Reference in new issue
Block a user