2026-09-09 18:43:37 +02:00
|
|
|
namespace AIStudio.Tools.Services;
|
|
|
|
|
|
2026-09-15 19:11:39 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// One piece of an extracted file, as the runtime delivered it.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Content">The extracted text.</param>
|
|
|
|
|
/// <param name="TokenCount">The number of tokens of that text.</param>
|
2026-10-26 10:00:01 +01:00
|
|
|
/// <param name="Location">Where that text came from: its page, its sheet and row, or its line. Presentations have none.</param>
|
|
|
|
|
public sealed record ArbitraryFileDataSegment(string Content, int TokenCount, SourceLocation Location);
|