mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-29 19:31:38 +00:00
Working version
This commit is contained in:
parent
65ec82cdcb
commit
334d4810eb
@ -147,6 +147,9 @@
|
|||||||
{
|
{
|
||||||
<ProfileSelection MarginLeft="" @bind-CurrentProfile="@this.currentProfile"/>
|
<ProfileSelection MarginLeft="" @bind-CurrentProfile="@this.currentProfile"/>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<MudSpacer />
|
||||||
|
<HalluzinationReminder ContainerClass="my-0 ml-2"/>
|
||||||
</MudStack>
|
</MudStack>
|
||||||
</FooterContent>
|
</FooterContent>
|
||||||
</InnerScrolling>
|
</InnerScrolling>
|
||||||
|
|||||||
@ -1768,6 +1768,9 @@ UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::DATASOURCESELECTION::T700666808"] = "Mana
|
|||||||
-- Available Data Sources
|
-- Available Data Sources
|
||||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::DATASOURCESELECTION::T86053874"] = "Available Data Sources"
|
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::DATASOURCESELECTION::T86053874"] = "Available Data Sources"
|
||||||
|
|
||||||
|
-- LLMs can make mistakes. Check important information.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::HALLUZINATIONREMINDER::T3528806904"] = "LLMs can make mistakes. Check important information."
|
||||||
|
|
||||||
-- Issues
|
-- Issues
|
||||||
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::ISSUES::T3229841001"] = "Issues"
|
UI_TEXT_CONTENT["AISTUDIO::COMPONENTS::ISSUES::T3229841001"] = "Issues"
|
||||||
|
|
||||||
|
|||||||
@ -124,6 +124,8 @@
|
|||||||
<MudIconButton Icon="@Icons.Material.Filled.Error" Color="Color.Error"/>
|
<MudIconButton Icon="@Icons.Material.Filled.Error" Color="Color.Error"/>
|
||||||
</MudTooltip>
|
</MudTooltip>
|
||||||
}
|
}
|
||||||
|
<MudSpacer />
|
||||||
|
<HalluzinationReminder ContainerClass="my-0 ml-2"/>
|
||||||
<MudIconButton />
|
<MudIconButton />
|
||||||
</MudToolBar>
|
</MudToolBar>
|
||||||
</FooterContent>
|
</FooterContent>
|
||||||
|
|||||||
@ -0,0 +1,5 @@
|
|||||||
|
<MudElement Class="@($"{this.ContainerClass} d-flex align-center")">
|
||||||
|
<MudText Typo="Typo.caption" Class="mb-0">
|
||||||
|
@this.Text
|
||||||
|
</MudText>
|
||||||
|
</MudElement>
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
using AIStudio.Tools.PluginSystem;
|
||||||
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
|
namespace AIStudio.Components;
|
||||||
|
|
||||||
|
public partial class HalluzinationReminder: ComponentBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(HalluzinationReminder).Namespace, nameof(HalluzinationReminder));
|
||||||
|
|
||||||
|
[Parameter]
|
||||||
|
public string Text { get; set; } = TB("LLMs can make mistakes. Check important information.");
|
||||||
|
|
||||||
|
[Parameter]
|
||||||
|
public string ContainerClass { get; set; } = "mt-2 mb-1";
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user