Skip to content

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

UN-2859 [FIX] Removing redundant validations (#1596)

harini-venkataraman26f34f6a73a5
diff --git a/tools/structure/src/main.py b/tools/structure/src/main.py
index 558a61041..80bbe2db5 100644
--- a/tools/structure/src/main.py
+++ b/tools/structure/src/main.py
@@ -128,11 +128,6 @@ class StructureTool(BaseTool):
Returns:
True if extraction/indexing should be skipped, False otherwise
"""
- # Check if input file is an Excel file
- file_ext = Path(input_file).suffix.lower()
- if file_ext not in [".xlsx", ".xls"]:
- return False
-
# Check if any output has table_settings with valid JSON prompt
for output in outputs:
if SettingsKeys.TABLE_SETTINGS in output: