mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:07:21 +00:00
Added file patterns and exclusions to folder data sources (#1057)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
249fc778a2
commit
031874cebf
75 files changed
+4808
-589
No files matched your search
@@ -0,0 +1,10 @@
|
||||
namespace AIStudio.Tools.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Files outside the configured patterns, summarized by extension or by a known extensionless
|
||||
/// file type so a large folder does not put every deliberately excluded path into memory or the
|
||||
/// user interface.
|
||||
/// </summary>
|
||||
/// <param name="FileType">The normalized extension including its leading dot, a known extensionless filename, or an empty string for other files without an extension.</param>
|
||||
/// <param name="FileCount">How many files of this summarized type were found.</param>
|
||||
public sealed record DataSourceEmbeddingFilePatternGroup(string FileType, int FileCount);
|
||||
Reference in new issue
Block a user