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] Migrate imports from unstract-sdk to sdk1 (#1669)
Praveen Kumar2986829c6ac8
diff --git a/unstract/sdk1/src/unstract/sdk1/adapters/x2text/llm_whisperer/src/llm_whisperer.py b/unstract/sdk1/src/unstract/sdk1/adapters/x2text/llm_whisperer/src/llm_whisperer.pyindex 71a8fb9f2..1d8f1ee38 100644--- a/unstract/sdk1/src/unstract/sdk1/adapters/x2text/llm_whisperer/src/llm_whisperer.py+++ b/unstract/sdk1/src/unstract/sdk1/adapters/x2text/llm_whisperer/src/llm_whisperer.py@@ -8,14 +8,14 @@ from typing import Anyimport requestsfrom requests import Responsefrom requests.exceptions import ConnectionError, HTTPError, Timeout-from unstract.sdk.adapters.exceptions import ExtractorError-from unstract.sdk.adapters.utils import AdapterUtils-from unstract.sdk.adapters.x2text.constants import X2TextConstants-from unstract.sdk.adapters.x2text.dto import (+from unstract.sdk1.adapters.exceptions import ExtractorError+from unstract.sdk1.adapters.utils import AdapterUtils+from unstract.sdk1.adapters.x2text.constants import X2TextConstants+from unstract.sdk1.adapters.x2text.dto import (TextExtractionMetadata,TextExtractionResult,)-from unstract.sdk.adapters.x2text.llm_whisperer.src.constants import (+from unstract.sdk1.adapters.x2text.llm_whisperer.src.constants import (HTTPMethod,OutputModes,ProcessingModes,@@ -25,9 +25,9 @@ from unstract.sdk.adapters.x2text.llm_whisperer.src.constants import (WhispererHeader,WhisperStatus,)-from unstract.sdk.adapters.x2text.x2text_adapter import X2TextAdapter-from unstract.sdk.constants import MimeType-from unstract.sdk.file_storage import FileStorage, FileStorageProvider+from unstract.sdk1.adapters.x2text.x2text_adapter import X2TextAdapter+from unstract.sdk1.constants import MimeType+from unstract.sdk1.file_storage import FileStorage, FileStorageProviderlogger = logging.getLogger(__name__)