|
|
@@ -76,7 +76,7 @@ class UnstructuredIngestionConfig(IngestionConfig):
|
|
|
|
|
|
x = json.loads(self.json())
|
|
|
x.pop("extra_fields", None)
|
|
|
- x.pop("provider", None)
|
|
|
+ #x.pop("provider", None)
|
|
|
x.pop("excluded_parsers", None)
|
|
|
|
|
|
x = {k: v for k, v in x.items() if v is not None}
|
|
|
@@ -359,7 +359,7 @@ class UnstructuredIngestionProvider(IngestionProvider):
|
|
|
)
|
|
|
|
|
|
file_io = BytesIO(file_content)
|
|
|
-
|
|
|
+ logger.info(f"Provider is: {self.config.provider}")
|
|
|
# TODO - Include check on excluded parsers here.
|
|
|
if self.config.provider == "unstructured_api":
|
|
|
logger.info(f"Using API to parse document {document.id}")
|