From aa1cb90c477b92ace7cde3b000a2db6de1bbf32a Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Sun, 23 Jun 2024 14:44:42 -0500 Subject: [PATCH] Update anthropic back-end --- src/chap/backends/anthropic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chap/backends/anthropic.py b/src/chap/backends/anthropic.py index 486db4d..f3d8f41 100644 --- a/src/chap/backends/anthropic.py +++ b/src/chap/backends/anthropic.py @@ -17,7 +17,7 @@ class Anthropic(AutoAskMixin): @dataclass class Parameters: url: str = "https://api.anthropic.com" - model: str = "claude-3-sonnet-20240229" + model: str = "claude-3-5-sonnet-20240620" max_new_tokens: int = 1000 def __init__(self) -> None: @@ -94,5 +94,5 @@ Answer each question accurately and thoroughly. def factory() -> Backend: - """Uses the huggingface text-generation-interface web API""" + """Uses the anthropic text-generation-interface web API""" return Anthropic()