namespace AIStudio.Tools.RAG;
///
/// One page of results, cut by their length, see CharacterPaging.
///
/// The index of the first result on the page.
/// How many results the page holds, at least one.
public readonly record struct CharacterPage(int Start, int Count)
{
///
/// The index right after the last result on the page, i.e., where the next page starts.
///
public int End => this.Start + this.Count;
}