From 0dd42fc606c58b0b8c2b3e471ea1874fb87bd514 Mon Sep 17 00:00:00 2001 From: Mikita Makiej <157150795+mmikita95@users.noreply.github.com> Date: Mon, 9 Sep 2024 16:45:24 +0300 Subject: [PATCH 1/2] chore: bump completion default model Upgrade `palmyra-x-002-instruct` to `palmyra-x-003-instruct` as per WF-65 --- src/writer/ai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/writer/ai.py b/src/writer/ai.py index 6ce94e142..5984cf621 100644 --- a/src/writer/ai.py +++ b/src/writer/ai.py @@ -164,7 +164,7 @@ def use_completion_model(cls) -> str: :returns: Name for the completion model. """ - return "palmyra-x-002-instruct" + return "palmyra-x-003-instruct" @classmethod def acquire_client(cls) -> Writer: @@ -1040,4 +1040,4 @@ def init(token: Optional[str] = None): """ return WriterAIManager(token=token) -apps = Apps() \ No newline at end of file +apps = Apps() From 7deabd2b1e64c1350104159ec1fb8cc195a5ad48 Mon Sep 17 00:00:00 2001 From: Mikita Makiej <157150795+mmikita95@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:08:44 +0300 Subject: [PATCH 2/2] chore: bump chat model --- src/writer/ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/writer/ai.py b/src/writer/ai.py index 5984cf621..ce54ec368 100644 --- a/src/writer/ai.py +++ b/src/writer/ai.py @@ -155,7 +155,7 @@ def use_chat_model(cls) -> str: :returns: Name for the chat model. """ - return "palmyra-x-002-32k" + return "palmyra-x-004" @classmethod def use_completion_model(cls) -> str: