From 81a64b6bec92558edf1f99d5c5b724b2f4e26cf9 Mon Sep 17 00:00:00 2001 From: ChihYu Yeh Date: Wed, 10 Jul 2024 04:57:25 +0800 Subject: [PATCH] add azure_deployment --- wren-ai-service/src/providers/embedder/azure_openai.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wren-ai-service/src/providers/embedder/azure_openai.py b/wren-ai-service/src/providers/embedder/azure_openai.py index ba9506caf..b29fe3986 100644 --- a/wren-ai-service/src/providers/embedder/azure_openai.py +++ b/wren-ai-service/src/providers/embedder/azure_openai.py @@ -49,6 +49,7 @@ def __init__( self.client = AsyncAzureOpenAI( azure_endpoint=api_base_url, + azure_deployment=model, api_version=api_version, api_key=api_key.resolve_value(), )