using System.Text.Json.Serialization;
namespace AIStudio.Chat;
///
/// The text a preview read of a file attached to the draft of a chat, which sending takes along instead of reading the file again.
///
/// The path of the file, as the attachment names it.
/// The entry of the provenance store which holds the text.
/// The state of the file before the preview read it. A file which changed since is read again.
public sealed record PreviewedText([property: JsonConverter(typeof(DataDirectoryRelativePathConverter))] string FilePath, Guid ProvenanceId, FileVersion Version);