From d6828ad52f0fa553180bd8232fefe7df3c8c3491 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Wed, 8 Nov 2023 23:18:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Updated=20Azure=20API=20paramete?= =?UTF-8?q?rs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- funcchain/utils/model_defaults.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcchain/utils/model_defaults.py b/funcchain/utils/model_defaults.py index 7b0004f..a93627c 100644 --- a/funcchain/utils/model_defaults.py +++ b/funcchain/utils/model_defaults.py @@ -114,8 +114,8 @@ def create_long_llm() -> RunnableWithFallbacks: { "openai_api_type": "azure", "openai_api_key": settings.AZURE_API_KEY, - "openai_api_base": settings.AZURE_API_BASE, - "openai_api_version": settings.AZURE_API_VERSION, + "azure_endpoint": settings.AZURE_API_BASE, + "api_version": settings.AZURE_API_VERSION, } ) print("Model: AZURE")