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
@@ -133,6 +133,16 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
|
||||
|
||||
protected virtual bool ShowReset => true;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the footer shows the confidence card of the selected provider, and the submit button its confidence,
|
||||
/// when the user wants to see confidences, see DataConfidence.ShowProviderConfidence.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// An assistant which works with several providers at once turns this off: the footer would show only one of them.
|
||||
/// It shows the confidence next to each provider selection instead, see ProviderSelectionWithConfidence.
|
||||
/// </remarks>
|
||||
protected virtual bool ShowProviderConfidence => true;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the system prompt starts with the current date and time.
|
||||
/// </summary>
|
||||
@@ -360,7 +370,9 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
|
||||
/// </summary>
|
||||
private new string TA(string fallbackEN) => this.TA(fallbackEN, typeof(AssistantBase<>).Namespace, nameof(AssistantBase<>));
|
||||
|
||||
private string SubmitButtonStyle => this.SettingsManager.ConfigurationData.Confidence.ShowProviderConfidence ? this.ProviderSettings.UsedLLMProvider.GetConfidence(this.SettingsManager).StyleBorder(this.SettingsManager) : string.Empty;
|
||||
private bool ShowsProviderConfidence => this.ShowProviderConfidence && this.SettingsManager.ConfigurationData.Confidence.ShowProviderConfidence;
|
||||
|
||||
private string SubmitButtonStyle => this.ShowsProviderConfidence ? this.ProviderSettings.UsedLLMProvider.GetConfidence(this.SettingsManager).StyleBorder(this.SettingsManager) : string.Empty;
|
||||
|
||||
private IReadOnlyList<Tools.Components> VisibleSendToAssistants => this.AssistantLaunchService.GetDestinationsFor(this.Component);
|
||||
|
||||
|
||||
Reference in new issue
Block a user