mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 15:57:59 +00:00
Fixed attached files silently reaching the AI as empty documents (#904)
This commit is contained in:
1 parent
b9ec13edcf
commit
8f8f788896
31 files changed
+1730
-285
No files matched your search
@@ -0,0 +1,23 @@
|
||||
namespace AIStudio.Tools;
|
||||
|
||||
/// <summary>
|
||||
/// How reading a file ended.
|
||||
/// </summary>
|
||||
public enum FileExtractionOutcome
|
||||
{
|
||||
/// <summary>
|
||||
/// The whole file was read.
|
||||
/// </summary>
|
||||
SUCCESS,
|
||||
|
||||
/// <summary>
|
||||
/// Parts of the file could not be read, e.g. single pages of a PDF, while the remaining
|
||||
/// content is still usable.
|
||||
/// </summary>
|
||||
PARTIAL,
|
||||
|
||||
/// <summary>
|
||||
/// The file could not be read. There is no content the app is allowed to use.
|
||||
/// </summary>
|
||||
FAILED,
|
||||
}
|
||||
Reference in new issue
Block a user