mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 03:08:13 +00:00
Added a way to read what the AI received from your sources (#1100)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
e0d8e18f34
commit
cbc4ce5413
229 files changed
+12739
-1269
No files matched your search
@@ -5,5 +5,5 @@ namespace AIStudio.Tools.Services.Indexing;
|
||||
/// </summary>
|
||||
/// <param name="Text">The text of the piece.</param>
|
||||
/// <param name="TokenCount">Its token count for the embedding provider, when the source already knows it.</param>
|
||||
/// <param name="PageNumber">The page it is on, or null when the source has no pages.</param>
|
||||
internal sealed record TextSegment(string Text, int? TokenCount, int? PageNumber);
|
||||
/// <param name="Location">Where it is: its page, its sheet and row, or its line; nothing when the source does not say.</param>
|
||||
internal sealed record TextSegment(string Text, int? TokenCount, SourceLocation Location);
|
||||
Reference in new issue
Block a user