jack 1 dag sedan
förälder
incheckning
93b601d876
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      py/core/providers/ingestion/unstructured/base.py

+ 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",