2025-07-01 16:34:14 +00:00
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
|
|
|
|
public sealed class Slide
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool Delivered { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public int Position { get; init; }
|
2026-09-09 16:43:37 +00:00
|
|
|
|
|
2025-07-01 16:34:14 +00:00
|
|
|
|
public List<ISlideContent> Content { get; } = new();
|
2026-09-09 16:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The number of tokens of everything this slide holds, or null when it is unknown.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// A slide grows across several stream events, so its count grows with it. It becomes unknown
|
|
|
|
|
|
/// as soon as an image is embedded: the runtime counted the text of the slide, and a data URI
|
|
|
|
|
|
/// is orders of magnitude larger than that.
|
|
|
|
|
|
/// </remarks>
|
|
|
|
|
|
public int? TokenCount { get; set; }
|
2025-07-01 16:34:14 +00:00
|
|
|
|
}
|