namespace AIStudio.Tools.PowerPoint;
///
/// What a picture library offers for one request.
///
/// The pictures the LLM may choose from, sorted by name: all of them, or a random sample of a large library.
/// How many pictures the folder holds in all.
/// How many of them are icons.
/// How many files the folder holds which are neither PNG nor JPEG, e.g., SVG icons.
internal sealed record PictureLibraryContent(IReadOnlyList Pictures, int PictureCount, int IconCount, int SkippedFileCount)
{
///
/// No library at all.
///
public static readonly PictureLibraryContent NONE = new([], 0, 0, 0);
///
/// Whether the folder holds more pictures than the LLM reads about, so that it gets a random sample.
///
public bool IsSampled => this.PictureCount > this.Pictures.Count;
}