LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
[FIX] Pass right value for file storage when remote storage support is not required. (#1066)
Gayathria0f78d669a29
diff --git a/tools/classifier/src/helper.py b/tools/classifier/src/helper.pyindex 98eac332f..79ac2a450 100644--- a/tools/classifier/src/helper.py+++ b/tools/classifier/src/helper.py@@ -144,9 +144,14 @@ class ClassifierHelper:self.tool.stream_log("Text extraction adapter has been created successfully.")try:- extraction_result: TextExtractionResult = x2text.process(- input_file_path=file, fs=self.tool.workflow_filestorage- )+ if self.workflow_filestorage:+ extraction_result: TextExtractionResult = x2text.process(+ input_file_path=file, fs=self.tool.workflow_filestorage+ )+ else:+ extraction_result: TextExtractionResult = x2text.process(+ input_file_path=file+ )extracted_text: str = extraction_result.extracted_textreturn extracted_textexcept Exception as e: