Skip to content

Commit

Permalink
add_claude3-sonnet&mistral
Browse files Browse the repository at this point in the history
  • Loading branch information
kan.kumada authored and kan.kumada committed Mar 13, 2024
1 parent 00e8a7b commit 35359de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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 @@ -38,6 +38,9 @@ export class FoundationModelIdentifier {
/** Base model "anthropic.claude-instant-v1". */
public static readonly ANTHROPIC_CLAUDE_INSTANT_V1 = new FoundationModelIdentifier('anthropic.claude-instant-v1');

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

/** Base model "cohere.command-text-v14". */
public static readonly COHERE_COMMAND_V14 = new FoundationModelIdentifier('cohere.command-text-v14');

Expand All @@ -62,6 +65,12 @@ export class FoundationModelIdentifier {
/** Base model "stability.stable-diffusion-xl-v1". */
public static readonly STABILITY_STABLE_DIFFUSION_XL_V1 = new FoundationModelIdentifier('stability.stable-diffusion-xl-v1');

/** Base model "mistral.mistral-7b-instruct-v0:2". */
public static readonly MISTRAL_7B_INSTRUCT_V0_2 = new FoundationModelIdentifier('mistral.mistral-7b-instruct-v0:2');

/** Base model "mistral.mixtral-8x7b-instruct-v0:1". */
public static readonly MIXTRAL_8X7B_INSTRUCT_V0_1 = new FoundationModelIdentifier('mistral.mixtral-8x7b-instruct-v0:1');

/**
* Constructor for foundation model identifier
* @param modelId the model identifier
Expand Down

0 comments on commit 35359de

Please sign in to comment.