2026-03-14 10:54:52 +01:00
|
|
|
using AIStudio.Tools.PluginSystem;
|
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Components;
|
|
|
|
|
|
|
|
|
|
public partial class HalluzinationReminder: ComponentBase
|
|
|
|
|
{
|
2026-11-13 10:16:56 +01:00
|
|
|
private static string TA(string fallbackEN) => I18N.I.TA(fallbackEN, typeof(HalluzinationReminder).Namespace, nameof(HalluzinationReminder));
|
2026-03-14 10:54:52 +01:00
|
|
|
|
|
|
|
|
[Parameter]
|
2026-11-13 10:16:56 +01:00
|
|
|
public string Text { get; set; } = TA("LLMs can make mistakes. Check important information.");
|
2026-03-14 10:54:52 +01:00
|
|
|
|
|
|
|
|
[Parameter]
|
|
|
|
|
public string ContainerClass { get; set; } = "mt-2 mb-1";
|
|
|
|
|
}
|