mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 19:27:21 +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;
|
||||
/// </summary>
|
||||
/// <param name="Content">The extracted text.</param>
|
||||
/// <param name="TokenCount">The number of tokens of that text.</param>
|
||||
/// <param name="PageNumber">The page that text came from, or null when it has none. Presentations and spreadsheets have none.</param>
|
||||
public sealed record ArbitraryFileDataSegment(string Content, int TokenCount, int? PageNumber);
|
||||
/// <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);
|
||||
Reference in new issue
Block a user