Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

fix/un-2218-enforce-max-file-size (#1323)

Kirtiman Mishra19f59a13dd7e
diff --git a/backend/file_management/constants.py b/backend/file_management/constants.py
index b348066ad..64eca065b 100644
--- a/backend/file_management/constants.py
+++ b/backend/file_management/constants.py
@@ -3,6 +3,6 @@ class FileInformationKey:
FILE_TYPE = "type"
FILE_LAST_MODIFIED = "LastModified"
FILE_SIZE = "size"
- FILE_UPLOAD_MAX_SIZE = 100 * 1024 * 1024
+ FILE_UPLOAD_MAX_SIZE = 200 * 1024 * 1024
FILE_UPLOAD_ALLOWED_EXT = ["pdf"]
FILE_UPLOAD_ALLOWED_MIME = ["application/pdf"]
diff --git a/tools/classifier/src/config/properties.json b/tools/classifier/src/config/properties.json
index 4a8a77143..197faa671 100644
--- a/tools/classifier/src/config/properties.json
+++ b/tools/classifier/src/config/properties.json
@@ -2,7 +2,7 @@
"schemaVersion": "0.0.1",
"displayName": "File Classifier",
"functionName": "classify",
- "toolVersion": "0.0.59",
+ "toolVersion": "0.0.60",
"description": "Classifies a file into a bin based on its contents",
"input": {
"description": "File to be classified"
@@ -63,7 +63,7 @@
}
},
"restrictions": {
- "maxFileSize": "50MB",
+ "maxFileSize": "200MB",
"allowedFileTypes": [
"*"
]
diff --git a/tools/structure/src/config/properties.json b/tools/structure/src/config/properties.json
index b96a5c5c9..25b58cdad 100644
--- a/tools/structure/src/config/properties.json
+++ b/tools/structure/src/config/properties.json
@@ -2,7 +2,7 @@
"schemaVersion": "0.0.1",
"displayName": "Structure Tool",
"functionName": "structure_tool",
- "toolVersion": "0.0.78",
+ "toolVersion": "0.0.79",
"description": "This is a template tool which can answer set of input prompts designed in the Prompt Studio",
"input": {
"description": "File that needs to be indexed and parsed for answers"
diff --git a/tools/text_extractor/src/config/properties.json b/tools/text_extractor/src/config/properties.json
index 8c0b73dde..8fa60560d 100644
--- a/tools/text_extractor/src/config/properties.json
+++ b/tools/text_extractor/src/config/properties.json
@@ -2,7 +2,7 @@
"schemaVersion": "0.0.1",
"displayName": "Text Extractor",
"functionName": "text_extractor",
- "toolVersion": "0.0.56",
+ "toolVersion": "0.0.57",
"description": "The Text Extractor is a powerful tool designed to convert documents to its text form or Extract texts from documents",
"input": {
"description": "Document"
@@ -45,7 +45,7 @@
}
},
"restrictions": {
- "maxFileSize": "10MB",
+ "maxFileSize": "200MB",
"allowedFileTypes": [
"*"
]