From 8b935a67901837613130bc81a24b2b8ad8975d90 Mon Sep 17 00:00:00 2001 From: mazyu36 Date: Sat, 27 Jul 2024 06:13:10 +0900 Subject: [PATCH] chore(bedrock): support Mistral Large 2 (#30945) Add Mistral Large 2 foundation model. Ref: * https://aws.amazon.com/about-aws/whats-new/2024/07/mistral-large-2-foundation-model-amazon-bedrock/ * https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html image ### 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* --- packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts | 3 +++ 1 file changed, 3 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 7058b4e97c8aa..daacd34ef584d 100644 --- a/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts +++ b/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts @@ -215,6 +215,9 @@ export class FoundationModelIdentifier { /** Base model "mistral.mistral-small-2402-v1:0". */ public static readonly MISTRAL_SMALL_V0_1 = new FoundationModelIdentifier('mistral.mistral-small-2402-v1:0'); + /** Base model "mistral.mistral-large-2407-v1:0". */ + public static readonly MISTRAL_LARGE_2_V0_1 = new FoundationModelIdentifier('mistral.mistral-large-2407-v1:0'); + /** * Base model "stability.stable-diffusion-xl". * @deprecated use latest version of the model