From d0c42f5c2a1fa278e00c5685353b837c802428d1 Mon Sep 17 00:00:00 2001 From: cachho Date: Tue, 11 Jul 2023 16:44:03 +0200 Subject: [PATCH] fix: pass template as named argument (#233) --- embedchain/config/ChatConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedchain/config/ChatConfig.py b/embedchain/config/ChatConfig.py index 60d16b0e..3e031d82 100644 --- a/embedchain/config/ChatConfig.py +++ b/embedchain/config/ChatConfig.py @@ -57,7 +57,7 @@ class ChatConfig(QueryConfig): # there don't have to be two templates. Having two templates would make it # complicated because the history is not user controlled. super().__init__( - template, + template=template, model=model, temperature=temperature, max_tokens=max_tokens,