From 940d59422e0d158d6105f7261dea0aa6297834fc Mon Sep 17 00:00:00 2001 From: Zoren X <47592497+hansfzlorenzana@users.noreply.github.com> Date: Sat, 25 Nov 2023 00:05:13 +0800 Subject: [PATCH] Update model from 'claude-2' to 'claude-2.1' --- claude-api/claude_api.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/claude-api/claude_api.py b/claude-api/claude_api.py index f7c4973..46fc7de 100644 --- a/claude-api/claude_api.py +++ b/claude-api/claude_api.py @@ -94,7 +94,7 @@ def send_message(self, prompt, conversation_id, attachment=None,timeout=500): "completion": { "prompt": f"{prompt}", "timezone": "Asia/Kolkata", - "model": "claude-2" + "model": "claude-2.1" }, "organization_uuid": f"{self.organization_id}", "conversation_uuid": f"{conversation_id}", @@ -303,5 +303,4 @@ def rename_chat(self, title, conversation_id): if response.status_code == 200: return True else: - return False - + return False \ No newline at end of file