Skip to content

Commit

Permalink
chore(bedrock): support Mistral Large 2 (#30945)
Browse files Browse the repository at this point in the history
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

<img width="724" alt="image" src="https:/user-attachments/assets/7c880ed2-eb1f-4aa8-bf8b-bb51de836a29">

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https:/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https:/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 Jul 26, 2024
1 parent c756ea1 commit 8b935a6
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 @@ -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
Expand Down

0 comments on commit 8b935a6

Please sign in to comment.