From 35359ded0b795c4f1da74a3983589a64db6bb1c5 Mon Sep 17 00:00:00 2001 From: "kan.kumada" Date: Wed, 13 Mar 2024 19:06:17 +0900 Subject: [PATCH] add_claude3-sonnet&mistral --- packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts b/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts index 645a696aa7d56..d2883e4216f59 100644 --- a/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts +++ b/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts @@ -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'); @@ -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