jack 1 gün önce
ebeveyn
işleme
93b601d876

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

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