Skip to content

Commit 31492c6

Browse files
authored
chore(bedrock): support claude3-opus and base models for provisioned throughput (#29905)
### Issue # (if applicable) N/A ### Reason for this change [Anthropic's Claude 3 Opus mode is now available](https://aws.amazon.com/jp/blogs/aws/anthropics-claude-3-opus-model-on-amazon-bedrock/), and new model IDs are published in [the guide](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html). ### Description of changes I added model IDs for Claude 3 Opus for on-demand throughput and Claude 3 Sonnet/Haiku for provisioned throughput. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent ed75b16 commit 31492c6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts

+15
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,24 @@ export class FoundationModelIdentifier {
8989
/** Base model "anthropic.claude-3-sonnet-20240229-v1:0". */
9090
public static readonly ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0 = new FoundationModelIdentifier('anthropic.claude-3-sonnet-20240229-v1:0');
9191

92+
/** Base model "anthropic.claude-3-sonnet-20240229-v1:0:28k" */
93+
public static readonly ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_28K = new FoundationModelIdentifier('anthropic.claude-3-sonnet-20240229-v1:0:28k');
94+
95+
/** Base model "anthropic.claude-3-sonnet-20240229-v1:0:200k" */
96+
public static readonly ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200K = new FoundationModelIdentifier('anthropic.claude-3-sonnet-20240229-v1:0:200k');
97+
9298
/** Base model "anthropic.claude-3-haiku-20240307-v1:0". */
9399
public static readonly ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0 = new FoundationModelIdentifier('anthropic.claude-3-haiku-20240307-v1:0');
94100

101+
/** Base model "anthropic.claude-3-haiku-20240307-v1:0:48k" */
102+
public static readonly ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_48K = new FoundationModelIdentifier('anthropic.claude-3-haiku-20240307-v1:0:48k');
103+
104+
/** Base model "anthropic.claude-3-haiku-20240307-v1:0:200k" */
105+
public static readonly ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_200K = new FoundationModelIdentifier('anthropic.claude-3-haiku-20240307-v1:0:200k');
106+
107+
/** Base model "anthropic.claude-3-opus-20240229-v1:0" */
108+
public static readonly ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0 = new FoundationModelIdentifier('anthropic.claude-3-opus-20240229-v1:0');
109+
95110
/** Base model "anthropic.claude-instant-v1". */
96111
public static readonly ANTHROPIC_CLAUDE_INSTANT_V1 = new FoundationModelIdentifier('anthropic.claude-instant-v1');
97112

0 commit comments

Comments
 (0)