mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 22:28: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,23 @@
|
||||
@inherits MSGComponentBase
|
||||
|
||||
@* Two charts rather than one with two axes: messages and minutes do not share a scale. *@
|
||||
<MudGrid Spacing="3" Class="mb-1">
|
||||
@if (this.messageEfforts.Count > 0)
|
||||
{
|
||||
<MudItem xs="12" md="6">
|
||||
<MudText Typo="Typo.subtitle2">
|
||||
@TA("Your messages on average")
|
||||
</MudText>
|
||||
<MudChart T="double" ChartType="ChartType.Bar" ChartLabels="@ModelComparisonCharts.ModelLabels(this.messageEfforts.Select(effort => effort.Model))" ChartSeries="@this.MessageSeries" ChartOptions="@this.MessageChartOptions" Width="100%" Height="220px"/>
|
||||
</MudItem>
|
||||
}
|
||||
@if (this.timeEfforts.Count > 0)
|
||||
{
|
||||
<MudItem xs="12" md="6">
|
||||
<MudText Typo="Typo.subtitle2">
|
||||
@T("Median time")
|
||||
</MudText>
|
||||
<MudChart T="double" ChartType="ChartType.Bar" ChartLabels="@ModelComparisonCharts.ModelLabels(this.timeEfforts.Select(effort => effort.Model))" ChartSeries="@this.TimeSeries" ChartOptions="@this.TimeChartOptions" Width="100%" Height="220px"/>
|
||||
</MudItem>
|
||||
}
|
||||
</MudGrid>
|
||||
Reference in new issue
Block a user