Skip to content

Commit 84dd06b

Browse files
authored
chore(bedrock): support meta llama3-1 (#30932)
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 ### 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*
1 parent cd80fca commit 84dd06b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,15 @@ export class FoundationModelIdentifier {
194194
/** Base model "meta.llama3-70b-instruct-v1:0". */
195195
public static readonly META_LLAMA_3_70_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-70b-instruct-v1:0');
196196

197+
/** Base model "meta.llama3-1-8b-instruct-v1:0". */
198+
public static readonly META_LLAMA_3_1_8B_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-8b-instruct-v1:0');
199+
200+
/** Base model "meta.llama3-1-70b-instruct-v1:0". */
201+
public static readonly META_LLAMA_3_1_70_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-70b-instruct-v1:0');
202+
203+
/** Base model "meta.llama3-1-405b-instruct-v1:0". */
204+
public static readonly META_LLAMA_3_1_405_INSTRUCT_V1 = new FoundationModelIdentifier('meta.llama3-1-405b-instruct-v1:0');
205+
197206
/** Base model "mistral.mistral-7b-instruct-v0:2". */
198207
public static readonly MISTRAL_MISTRAL_7B_INSTRUCT_V0_2 = new FoundationModelIdentifier('mistral.mistral-7b-instruct-v0:2');
199208

0 commit comments

Comments
 (0)