AI-Studio/app/MindWork AI Studio/Tools/MessageFile.cs
2026-09-23 13:22:25 +02:00

12 lines
696 B
C#

namespace AIStudio.Tools;
/// <summary>
/// A file found in a message, ready to be written: a table the model wrote.
/// </summary>
/// <param name="Ordinal">Which table of the message this is, counting from one. The same table
/// appears once per format we offer for it, so this is what tells two tables apart even when they
/// carry the same heading.</param>
/// <param name="Caption">What the table is about, taken from its first column heading.</param>
/// <param name="Format">The format this content is written as.</param>
/// <param name="Content">The finished file content.</param>
public sealed record MessageFile(int Ordinal, string Caption, FileExportFormat Format, string Content);