Skip to content

Commit

Permalink
chore(bedrock): add claude-3-5-sonnet (#30629)
Browse files Browse the repository at this point in the history
Add Anthropic's Claude 3.5 Sonnet model.

Ref
* https://aws.amazon.com/about-aws/whats-new/2024/06/anthropic-claude-3-5-sonnet-model-bedrock/
* https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html

### 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*
  • Loading branch information
mazyu36 authored Jun 24, 2024
1 parent 1397737 commit 6ef7c67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ export class FoundationModelIdentifier {
/** Base model "anthropic.claude-3-sonnet-20240229-v1:0:200k" */
public static readonly ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200K = new FoundationModelIdentifier('anthropic.claude-3-sonnet-20240229-v1:0:200k');

/** Base model "anthropic.claude-3-5-sonnet-20240620-v1:0" */
public static readonly ANTHROPIC_CLAUDE_3_5_SONNET_20240620_V1_0 = new FoundationModelIdentifier('anthropic.claude-3-5-sonnet-20240620-v1:0');

/** Base model "anthropic.claude-3-haiku-20240307-v1:0". */
public static readonly ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0 = new FoundationModelIdentifier('anthropic.claude-3-haiku-20240307-v1:0');

Expand Down

0 comments on commit 6ef7c67

Please sign in to comment.