mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:47:21 +00:00
Improved the dialogs for local data sources and the Batch Processing assistant (#1096)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
149395c1a0
commit
f7e6ceb915
45 files changed
+2514
-361
No files matched your search
@@ -253,7 +253,7 @@ public partial class DataSourceLocalDirectoryDialog : MSGComponentBase
|
||||
Path = this.dataPath,
|
||||
FilePatterns = this.NormalizeFilePatterns(),
|
||||
|
||||
// Kept as typed, since the line breaks group the entries for the eye:
|
||||
// Unlike the file patterns, no normalizing, since the exclusion editor passes on valid lists only:
|
||||
ExcludePatterns = this.dataExcludePatterns,
|
||||
MaxFileSizeMegabytes = this.dataMaxFileSizeMegabytes,
|
||||
IncludeSubdirectories = this.dataIncludeSubdirectories,
|
||||
@@ -301,7 +301,7 @@ public partial class DataSourceLocalDirectoryDialog : MSGComponentBase
|
||||
|
||||
private string NormalizeFilePatterns() => FileNamePatterns.Normalize(this.dataFilePatterns);
|
||||
|
||||
private void RestoreDefaultExcludePatterns() => this.dataExcludePatterns = FileExclusions.DEFAULT_PATTERNS;
|
||||
private void RestoreDefaultFilePatterns() => this.dataFilePatterns = DataSourceLocalDirectory.DEFAULT_FILE_PATTERNS;
|
||||
|
||||
/// <summary>
|
||||
/// Gives the fields which are checked against each other a fresh verdict: the embedding provider
|
||||
|
||||
Reference in new issue
Block a user