jack преди 1 ден
родител
ревизия
d84eba196d
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      py/core/providers/ingestion/unstructured/base.py

+ 2 - 1
py/core/providers/ingestion/unstructured/base.py

@@ -396,7 +396,8 @@ class UnstructuredIngestionProvider(IngestionProvider):
                 logger.info(
                     f"Sending a request to {self.local_unstructured_url}/partition"
                 )
-
+                ingestion_config.pop("strategy", 'hi_res')
+                print(ingestion_config)
                 response = await self.client.post(
                     f"{self.local_unstructured_url}/partition",
                     json={