Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bedrock): deprecate Claude 2, 2.1, Instant #33058

Merged
merged 5 commits into from
Jan 23, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,22 +143,40 @@ export class FoundationModelIdentifier {
**/
public static readonly ANTHROPIC_CLAUDE_V1 = new FoundationModelIdentifier('anthropic.claude-v1');

/** Base model "anthropic.claude-v2". */
/**
* Base model "anthropic.claude-v2".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_V2 = new FoundationModelIdentifier('anthropic.claude-v2');

/** Base model "anthropic.claude-v2:0:18k". */
/**
* Base model "anthropic.claude-v2:0:18k".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_V2_0_18K = new FoundationModelIdentifier('anthropic.claude-v2:0:18k');

/** Base model "anthropic.claude-v2:0:100k". */
/**
* Base model "anthropic.claude-v2:0:100k".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_V2_0_100K = new FoundationModelIdentifier('anthropic.claude-v2:0:100k');

/** Base model "anthropic.claude-v2:1". */
/**
* Base model "anthropic.claude-v2:1".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_V2_1 = new FoundationModelIdentifier('anthropic.claude-v2:1');

/** Base model "anthropic.claude-v2:1:18k". */
/**
* Base model "anthropic.claude-v2:1:18k".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_V2_1_18K = new FoundationModelIdentifier('anthropic.claude-v2:1:18k');

/** Base model "anthropic.claude-v2:1:200k". */
/**
* Base model "anthropic.claude-v2:1:200k".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_V2_1_200K = new FoundationModelIdentifier('anthropic.claude-v2:1:200k');

/** Base model "anthropic.claude-3-sonnet-20240229-v1:0". */
Expand Down Expand Up @@ -218,10 +236,16 @@ export class FoundationModelIdentifier {
/** Base model "anthropic.claude-3-opus-20240229-v1:0:200k". */
public static readonly ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0_200K = new FoundationModelIdentifier('anthropic.claude-3-opus-20240229-v1:0:200k');

/** Base model "anthropic.claude-instant-v1". */
/**
* Base model "anthropic.claude-instant-v1".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_INSTANT_V1 = new FoundationModelIdentifier('anthropic.claude-instant-v1');

/** Base model "anthropic.claude-instant-v1:2:100k". */
/**
* Base model "anthropic.claude-instant-v1:2:100k".
* @deprecated use latest version of the model
*/
public static readonly ANTHROPIC_CLAUDE_INSTANT_V1_2_100K = new FoundationModelIdentifier('anthropic.claude-instant-v1:2:100k');

/** Base model "cohere.command-text-v14". */
Expand Down
Loading