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: Return highlight data in API response (#858)
Deepak Kec0280449510
diff --git a/backend/api_v2/deployment_helper.py b/backend/api_v2/deployment_helper.pyindex 149f38e1b..ceaef536d 100644--- a/backend/api_v2/deployment_helper.py+++ b/backend/api_v2/deployment_helper.py@@ -173,9 +173,7 @@ class DeploymentHelper(BaseAPIKeyValidator):result.status_api = DeploymentHelper.construct_status_endpoint(api_endpoint=api.api_endpoint, execution_id=execution_id)- if include_metadata:- result.remove_result_metadata_keys(keys_to_remove=["highlight_data"])- else:+ if not include_metadata:result.remove_result_metadata_keys()except Exception as error:DestinationConnector.delete_api_storage_dir(