mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 23:07:23 +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
@@ -14,6 +14,7 @@ public sealed record DataBackupEntry(DataBackupLocation Location, string Relativ
|
||||
public bool IsIncluded => this.Kind is DataBackupEntryKind.SETTINGS
|
||||
or DataBackupEntryKind.WORKSPACES
|
||||
or DataBackupEntryKind.TEMPORARY_CHATS
|
||||
or DataBackupEntryKind.CHAT_PROVENANCE
|
||||
or DataBackupEntryKind.PLUGINS
|
||||
or DataBackupEntryKind.TOKENIZERS
|
||||
or DataBackupEntryKind.VISUAL_BRIEFINGS
|
||||
@@ -33,6 +34,16 @@ public sealed record DataBackupEntry(DataBackupLocation Location, string Relativ
|
||||
or DataBackupEntryKind.VECTOR_STORES
|
||||
or DataBackupEntryKind.MEDIA_TRANSCRIPTS;
|
||||
|
||||
/// <summary>
|
||||
/// Whether a backup takes the entry from the copy it makes of the provenance store, rather than from the data folder.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The chats write to the store at any time, so a file-by-file copy could catch it halfway
|
||||
/// through a write. Unlike the indexes, it is copied for every backup, since it belongs to the
|
||||
/// chats, which every backup holds. Cf. DataBackupSources.CopyProvenanceStoreAsync.
|
||||
/// </remarks>
|
||||
public bool ComesFromProvenanceCopy => this.Kind is DataBackupEntryKind.CHAT_PROVENANCE;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the entry is a folder rather than a single file.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user