Skip to content

Commit

Permalink
chore(bedrock): support Jamba 1.5 Large and Mini (aws#31537)
Browse files Browse the repository at this point in the history
Add new foundation model.

Ref:
* https://aws.amazon.com/about-aws/whats-new/2024/09/jamba-1-5-family-models-amazon-bedrock/
* https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html


Provider | Model name | Version | Model ID
-- | -- | -- | --
AI21 Labs | Jamba 1.5 Large | 1.x | ai21.jamba-1-5-large-v1:0
AI21 Labs | Jamba 1.5 Mini | 1.x | ai21.jamba-1-5-mini-v1:0


### 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*
  • Loading branch information
mazyu36 authored Sep 26, 2024
1 parent a1c46cf commit 511b630
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 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 @@ -83,6 +83,12 @@ export class FoundationModelIdentifier {
/** Base model "ai21.jamba-instruct-v1:0". */
public static readonly AI21_J2_JAMBA_INSTRUCT_V1_0 = new FoundationModelIdentifier('ai21.jamba-instruct-v1:0');

/** Base model "ai21.jamba-1-5-large-v1:0". */
public static readonly AI21_JAMBA_1_5_LARGE_V_1_0 = new FoundationModelIdentifier('ai21.jamba-1-5-large-v1:0');

/** Base model "ai21.jamba-1-5-mini-v1:0". */
public static readonly AI21_JAMBA_1_5_MINI_V_1_0 = new FoundationModelIdentifier('ai21.jamba-1-5-mini-v1:0');

/**
* Base model "anthropic.claude-v1".
* @deprecated use latest version of the model
Expand Down

0 comments on commit 511b630

Please sign in to comment.