Skip to content

Commit

Permalink
chore(bedrock): support meta llama3-1 (#30932)
Browse files Browse the repository at this point in the history
Add Meta Llama 3.1 model.

Ref
* https://aws.amazon.com/about-aws/whats-new/2024/07/meta-llama-3-1-generative-ai-models-amazon-bedrock/
* https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html

- [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 and hemige committed Nov 16, 2024
1 parent fae0d5f commit d1e9535
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 @@ -218,6 +218,15 @@ export class FoundationModelIdentifier {
/** Base model "meta.llama3-1-405b-instruct-v1:0". */
public static readonly META_LLAMA_3_1_405_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-405b-instruct-v1:0');

/** Base model "meta.llama3-1-8b-instruct-v1:0". */
public static readonly META_LLAMA_3_1_8B_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-8b-instruct-v1:0');

/** Base model "meta.llama3-1-70b-instruct-v1:0". */
public static readonly META_LLAMA_3_1_70_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-70b-instruct-v1:0');

/** Base model "meta.llama3-1-405b-instruct-v1:0". */
public static readonly META_LLAMA_3_1_405_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-405b-instruct-v1:0');

/** Base model "meta.llama3-2-1b-instruct-v1:0". */
public static readonly META_LLAMA_3_2_1B_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-2-1b-instruct-v1:0');

Expand Down

0 comments on commit d1e9535

Please sign in to comment.