mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:47: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
@@ -0,0 +1,14 @@
|
||||
namespace AIStudio.Tools.Services.Indexing;
|
||||
|
||||
/// <summary>
|
||||
/// What indexing a document stored: a new generation of its chunks, next to whatever the document had before.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The new generation replaces the stored one only once the kind of data source records the
|
||||
/// document as indexed, cf. DocumentRunProgress.RecordDocumentIndexedAsync. Until then, and for
|
||||
/// good when it fails, the document keeps the version it had.
|
||||
/// </remarks>
|
||||
/// <param name="ChunkCount">How many chunks were stored.</param>
|
||||
/// <param name="Generation">The generation of the chunks, cf. IndexedDocumentIds.CreateChunkIdSource.</param>
|
||||
/// <param name="ChunkIds">The ids of the chunks, which are also the ids of their points.</param>
|
||||
internal sealed record IndexedDocument(int ChunkCount, int Generation, IReadOnlyList<string> ChunkIds);
|
||||
Reference in new issue
Block a user