mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 00:07: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
@@ -63,4 +63,45 @@ public sealed class RetrievalTextContext : IRetrievalContext
|
||||
/// to. A slide or a sheet has no page and leaves this empty.
|
||||
/// </remarks>
|
||||
public int? PageNumber { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The page this passage ends on when it goes on beyond the page it starts on, or null when it
|
||||
/// stays on that page or the end is not known.
|
||||
/// </summary>
|
||||
public int? EndPageNumber { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The sheet of a spreadsheet this passage is from, or null when it is from none.
|
||||
/// </summary>
|
||||
public string? SheetName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The row this passage starts at, counted from one: a row of its sheet, or of a table such as a CSV file.
|
||||
/// </summary>
|
||||
public int? StartRow { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The row this passage ends at when it goes on beyond the row it starts at, or null.
|
||||
/// </summary>
|
||||
public int? EndRow { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The line this passage starts at, counted from one, for text and source code, or null.
|
||||
/// </summary>
|
||||
public int? StartLine { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The line this passage ends at when it goes on beyond the line it starts at, or null.
|
||||
/// </summary>
|
||||
public int? EndLine { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Which part of its document this passage is, counted from one, or null when the data source does not say.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A document is split into parts to be searched, and each part is one passage. The page says
|
||||
/// better where a passage is, so the part only names the place in a document without pages,
|
||||
/// such as a text file.
|
||||
/// </remarks>
|
||||
public int? ChunkNumber { get; init; }
|
||||
}
|
||||
Reference in new issue
Block a user