jack 1 天之前
父節點
當前提交
93b601d876
共有 1 個文件被更改,包括 1 次插入1 次删除
  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",