mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 02:47:22 +00:00
Generated the JSON contracts of visual briefings and model answers at compile time (#1151)
This commit is contained in:
1 parent
24e3c22db3
commit
770c16e20a
101 files changed
+2333
-392
No files matched your search
@@ -0,0 +1,16 @@
|
||||
namespace AIStudio.Assistants.VisualBriefing;
|
||||
|
||||
/// <summary>
|
||||
/// The fixed labels in the data of a briefing, which its runtime shows.
|
||||
/// </summary>
|
||||
/// <param name="Reset">The label of the buttons which reset a simulation.</param>
|
||||
/// <param name="Brand">The name of the app which created the briefing.</param>
|
||||
internal sealed record VisualBriefingLabels(string Reset, string Brand)
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates the labels of a briefing.
|
||||
/// </summary>
|
||||
/// <param name="resetLabel">The label of the buttons which reset a simulation.</param>
|
||||
/// <returns>The labels.</returns>
|
||||
internal static VisualBriefingLabels Of(string resetLabel) => new(resetLabel, "MindWork AI Studio");
|
||||
}
|
||||
Reference in new issue
Block a user