From 42f192e1ac89f3a3041bb52402525cd729352615 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Thu, 20 Jun 2024 11:12:50 -0400 Subject: [PATCH 1/2] added: `claude-3.5-sonnet-20240620` --- examples/pipelines/providers/anthropic_manifold_pipeline.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/pipelines/providers/anthropic_manifold_pipeline.py b/examples/pipelines/providers/anthropic_manifold_pipeline.py index 57b4745..fe634fa 100644 --- a/examples/pipelines/providers/anthropic_manifold_pipeline.py +++ b/examples/pipelines/providers/anthropic_manifold_pipeline.py @@ -1,8 +1,8 @@ """ title: Anthropic Manifold Pipeline author: justinh-rahb -date: 2024-05-27 -version: 1.0 +date: 2024-06-20 +version: 1.1 license: MIT description: A pipeline for generating text using the Anthropic API. requirements: requests, anthropic @@ -40,6 +40,7 @@ def get_anthropic_models(self): {"id": "claude-3-haiku-20240307", "name": "claude-3-haiku"}, {"id": "claude-3-opus-20240229", "name": "claude-3-opus"}, {"id": "claude-3-sonnet-20240229", "name": "claude-3-sonnet"}, + {"id": "claude-3.5-sonnet-20240620", "name": "claude-3.5-sonnet"}, # Add other Anthropic models here as they become available ] From 79da20ad20f2e986accdef5fc2d57fd420133068 Mon Sep 17 00:00:00 2001 From: Justin Hayes Date: Thu, 20 Jun 2024 12:42:49 -0400 Subject: [PATCH 2/2] Fix model string name --- examples/pipelines/providers/anthropic_manifold_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pipelines/providers/anthropic_manifold_pipeline.py b/examples/pipelines/providers/anthropic_manifold_pipeline.py index fe634fa..29d55d3 100644 --- a/examples/pipelines/providers/anthropic_manifold_pipeline.py +++ b/examples/pipelines/providers/anthropic_manifold_pipeline.py @@ -40,7 +40,7 @@ def get_anthropic_models(self): {"id": "claude-3-haiku-20240307", "name": "claude-3-haiku"}, {"id": "claude-3-opus-20240229", "name": "claude-3-opus"}, {"id": "claude-3-sonnet-20240229", "name": "claude-3-sonnet"}, - {"id": "claude-3.5-sonnet-20240620", "name": "claude-3.5-sonnet"}, + {"id": "claude-3-5-sonnet-20240620", "name": "claude-3.5-sonnet"}, # Add other Anthropic models here as they become available ]