mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 03:27:41 +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,22 @@
|
||||
namespace AIStudio.Assistants.VisualBriefing;
|
||||
|
||||
/// <summary>
|
||||
/// The evidence which the plan and content stages show their models.
|
||||
/// </summary>
|
||||
/// <param name="Facts">The facts of the evidence.</param>
|
||||
/// <param name="Metrics">The metrics of the evidence.</param>
|
||||
/// <param name="Tables">The tables of the evidence.</param>
|
||||
/// <param name="AssetPlan">The planned pictures of the briefing.</param>
|
||||
internal sealed record VisualBriefingEvidencePrompt(
|
||||
List<VisualBriefingEvidenceFact> Facts,
|
||||
List<VisualBriefingEvidenceMetric> Metrics,
|
||||
List<VisualBriefingEvidenceTable> Tables,
|
||||
List<VisualBriefingAssetPlanItem> AssetPlan)
|
||||
{
|
||||
/// <summary>
|
||||
/// Gathers what a model gets to see of an evidence artifact.
|
||||
/// </summary>
|
||||
/// <param name="evidence">The evidence artifact.</param>
|
||||
/// <returns>The evidence for the prompt.</returns>
|
||||
internal static VisualBriefingEvidencePrompt Of(VisualBriefingEvidenceArtifact evidence) => new(evidence.Facts, evidence.Metrics, evidence.Tables, evidence.AssetPlan);
|
||||
}
|
||||
Reference in new issue
Block a user