using AIStudio.Tools.DocumentSegments;
namespace AIStudio.Assistants;
///
/// A document an assistant worked on, e.g., translated, which the user may save as often as they like.
///
///
/// Only the new texts are kept, never the new file: saving writes them into a copy of the source,
/// which the format reads again then.
///
/// The document the assistant worked on.
/// What became of its segments.
/// The IETF tag of the language of the new texts, e.g., "de-DE"; empty to leave the marks of the language as they are.
/// What sets the new document apart, e.g., its target language, for the user and for the suggested file name.
public sealed record EditedDocument(string SourcePath, SegmentResults Results, string LanguageTag, string Label);