From f5b2200ffa797cfbcf8e84ba1a3a9d33baa29283 Mon Sep 17 00:00:00 2001 From: Hideyuki Kagami Date: Mon, 3 Feb 2025 10:10:10 +0900 Subject: [PATCH] fix: update parameter name in AzureAIDocumentIntelligenceLoader (#593) bump:patch --- .../kotaemon/loaders/azureai_document_intelligence_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/kotaemon/kotaemon/loaders/azureai_document_intelligence_loader.py b/libs/kotaemon/kotaemon/loaders/azureai_document_intelligence_loader.py index 0e66c84..c0b27d3 100644 --- a/libs/kotaemon/kotaemon/loaders/azureai_document_intelligence_loader.py +++ b/libs/kotaemon/kotaemon/loaders/azureai_document_intelligence_loader.py @@ -133,7 +133,7 @@ class AzureAIDocumentIntelligenceLoader(BaseReader): with open(file_path, "rb") as fi: poller = self.client_.begin_analyze_document( self.model, - analyze_request=fi, + body=fi, content_type="application/octet-stream", output_content_format=self.output_content_format, )