diff --git a/src/aws_bedrock_llms.ts b/src/aws_bedrock_llms.ts index 285ae6e..64848c3 100644 --- a/src/aws_bedrock_llms.ts +++ b/src/aws_bedrock_llms.ts @@ -272,6 +272,28 @@ export const anthropicClaude3OpusV1 = ( }); }; +export const anthropicClaude37SonnetV1 = ( + inferenceRegion: string = "us", +): ModelReference => { + return modelRef({ + name: `aws-bedrock/${inferenceRegion}.anthropic.claude-3-7-sonnet-20250219-v1:0`, + info: { + versions: [ + `${inferenceRegion}.anthropic.claude-3-7-sonnet-20250219-v1:0`, + ], + label: "Anthropic - Claude 3.7 Sonnet V1", + supports: { + multiturn: true, + tools: true, + media: true, + systemRole: true, + output: ["text", "json"], + }, + }, + configSchema: GenerationCommonConfigSchema, + }); +}; + export const anthropicClaude35SonnetV2 = ( inferenceRegion: string = "us", ): ModelReference => { @@ -744,6 +766,8 @@ export const SUPPORTED_AWS_BEDROCK_MODELS = ( "anthropic.claude-instant-v1": anthropicClaudeInstantV1, [`${inferenceRegion}.anthropic.claude-3-5-haiku-20241022-v1:0`]: anthropicClaude35HaikuV1(inferenceRegion), + [`${inferenceRegion}.anthropic.claude-3-7-sonnet-20250219-v1:0`]: + anthropicClaude37SonnetV1(inferenceRegion), [`${inferenceRegion}.anthropic.claude-3-5-sonnet-20241022-v2:0`]: anthropicClaude35SonnetV2(inferenceRegion), [`${inferenceRegion}.anthropic.claude-3-5-sonnet-20240620-v1:0`]: diff --git a/src/index.ts b/src/index.ts index 9cdba6b..e382809 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,6 +22,7 @@ import { mistral7BInstructV02, mistral8x7BInstructV01, anthropicClaude35HaikuV1, + anthropicClaude37SonnetV1, anthropicClaude35SonnetV2, anthropicClaude3OpusV1, anthropicClaude3HaikuV1, @@ -85,6 +86,7 @@ export { metaLlama370BInstruct, metaLlama38BInstruct, anthropicClaude35HaikuV1, + anthropicClaude37SonnetV1, anthropicClaude35SonnetV2, anthropicClaude3OpusV1, anthropicClaude3HaikuV1,