Skip to content

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

[FIX] Cybersoft : File extension case insensitive support (#523)

harini-venkataraman2d19142107dc
diff --git a/backend/workflow_manager/endpoint/constants.py b/backend/workflow_manager/endpoint/constants.py
index 63a121343..01434b800 100644
--- a/backend/workflow_manager/endpoint/constants.py
+++ b/backend/workflow_manager/endpoint/constants.py
@@ -73,8 +73,23 @@ class FileType:
class FilePattern:
PDF_DOCUMENTS = ["*.pdf", "*.PDF"]
- TEXT_DOCUMENTS = ["*.txt"]
- IMAGES = ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.bmp", "*.tif", "*.tiff"]
+ TEXT_DOCUMENTS = ["*.txt", "*.TXT"]
+ IMAGES = [
+ "*.jpg",
+ "*.jpeg",
+ "*.png",
+ "*.gif",
+ "*.bmp",
+ "*.tif",
+ "*.tiff",
+ "*.JPG",
+ "*.JPEG",
+ "*.PNG",
+ "*.GIF",
+ "*.BMP",
+ "*.TIF",
+ "*.TIFF",
+ ]
class SourceConstant: