From e9a11acb0f766e57ace79dafaffb72aeb42683ed Mon Sep 17 00:00:00 2001 From: Sawyer Date: Mon, 2 Sep 2024 12:18:49 -0700 Subject: [PATCH] Use faster model --- aws/ai/services/ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/ai/services/ai.py b/aws/ai/services/ai.py index 436e8f6..89ba8b3 100644 --- a/aws/ai/services/ai.py +++ b/aws/ai/services/ai.py @@ -50,7 +50,7 @@ def get_chat_completion( tool_name: Optional[Literal["summarize_highlights"]] = None, ): client = ac_client - model = "claude-3-5-sonnet-20240620" + model = "claude-3-haiku-20240307" tool_choice = {"type": "tool", "name": tool_name} if tool_name else None logger.debug(