mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 20:47:22 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
14 lines
601 B
C#
14 lines
601 B
C#
namespace AIStudio.Tools.Services;
|
|
|
|
/// <summary>
|
|
/// The rows or lines a passage spans, as far as it names them, cf. DataSourceLocalRetrievalService.LocatePassage.
|
|
/// </summary>
|
|
/// <param name="Start">The first row or line, or null when the passage names none.</param>
|
|
/// <param name="End">The last row or line, or null when the passage does not go on beyond its first one.</param>
|
|
internal readonly record struct PassageRange(int? Start, int? End)
|
|
{
|
|
/// <summary>
|
|
/// The passage names no rows or lines.
|
|
/// </summary>
|
|
public static readonly PassageRange NONE = new(null, null);
|
|
} |