class FoundationModelIdentifier
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_bedrock.FoundationModelIdentifier |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#FoundationModelIdentifier |
Java | software.amazon.awscdk.services.bedrock.FoundationModelIdentifier |
Python | aws_cdk.aws_bedrock.FoundationModelIdentifier |
TypeScript (source) | aws-cdk-lib » aws_bedrock » FoundationModelIdentifier |
The model identifiers for the Bedrock base foundation models.
See also: https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html
Example
import * as bedrock from 'aws-cdk-lib/aws-bedrock';
bedrock.FoundationModel.fromFoundationModelId(
this,
'Model',
bedrock.FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2,
);
Initializer
new FoundationModelIdentifier(modelId: string)
Parameters
- modelId
string
— the model identifier.
Constructor for foundation model identifier.
Properties
Name | Type | Description |
---|---|---|
model | string | the model identifier. |
static AI21_J2_GRANDE_INSTRUCT | Foundation | Base model "ai21.j2-grande-instruct". |
static AI21_J2_JUMBO_INSTRUCT | Foundation | Base model "ai21.j2-jumbo-instruct". |
static AI21_J2_MID | Foundation | Base model "ai21.j2-mid". |
static AI21_J2_ULTRA | Foundation | Base model "ai21.j2-ultra". |
static AI21_LABS_JURASSIC_2_MID_V1 | Foundation | Base model "ai21.j2-mid-v1". |
static AI21_LABS_JURASSIC_2_ULTRA_V1 | Foundation | Base model "ai21.j2-ultra-v1". |
static AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1 | Foundation | Base model "amazon.titan-embed-text-v1". |
static AMAZON_TITAN_EMBED_G1_TEXT_02 | Foundation | Base model "amazon.titan-embed-g1-text-02". |
static AMAZON_TITAN_EMBED_IMAGE_V1_0 | Foundation | Base model "amazon.titan-embed-image-v1:0". |
static AMAZON_TITAN_EMBED_TEXT_V1_2_8 | Foundation | Base model "amazon.titan-embed-text-v1:2:8k". |
static AMAZON_TITAN_IMAGE_GENERATOR_G1_V1 | Foundation | Base model "amazon.titan-image-generator-v1". |
static AMAZON_TITAN_IMAGE_GENERATOR_V1_0 | Foundation | Base model "amazon.titan-image-generator-v1:0". |
static AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1 | Foundation | Base model "amazon.titan-embed-image-v1". |
static AMAZON_TITAN_TEXT_EXPRESS_V1_0_8 | Foundation | Base model "amazon.titan-text-express-v1:0:8k". |
static AMAZON_TITAN_TEXT_G1_EXPRESS_V1 | Foundation | Base model "amazon.titan-text-express-v1". |
static AMAZON_TITAN_TEXT_LITE_V1 | Foundation | Base model "amazon.titan-text-lite-v1". |
static AMAZON_TITAN_TEXT_LITE_V1_0_4 | Foundation | Base model "amazon.titan-text-lite-v1:0:4k". |
static AMAZON_TITAN_TG1_LARGE | Foundation | Base model "amazon.titan-tg1-large". |
static ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0 | Foundation | Base model "anthropic.claude-3-haiku-20240307-v1:0". |
static ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_200 | Foundation | Base model "anthropic.claude-3-haiku-20240307-v1:0:200k". |
static ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_48 | Foundation | Base model "anthropic.claude-3-haiku-20240307-v1:0:48k". |
static ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0 | Foundation | Base model "anthropic.claude-3-opus-20240229-v1:0". |
static ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0 | Foundation | Base model "anthropic.claude-3-sonnet-20240229-v1:0". |
static ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200 | Foundation | Base model "anthropic.claude-3-sonnet-20240229-v1:0:200k". |
static ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_28 | Foundation | Base model "anthropic.claude-3-sonnet-20240229-v1:0:28k". |
static ANTHROPIC_CLAUDE_INSTANT_V1 | Foundation | Base model "anthropic.claude-instant-v1". |
static ANTHROPIC_CLAUDE_INSTANT_V1_2_100 | Foundation | Base model "anthropic.claude-instant-v1:2:100k". |
static ANTHROPIC_CLAUDE_V1 | Foundation | Base model "anthropic.claude-v1". |
static ANTHROPIC_CLAUDE_V2 | Foundation | Base model "anthropic.claude-v2". |
static ANTHROPIC_CLAUDE_V2_0_100 | Foundation | Base model "anthropic.claude-v2:0:100k". |
static ANTHROPIC_CLAUDE_V2_0_18 | Foundation | Base model "anthropic.claude-v2:0:18k". |
static ANTHROPIC_CLAUDE_V2_1 | Foundation | Base model "anthropic.claude-v2:1". |
static ANTHROPIC_CLAUDE_V2_1_18 | Foundation | Base model "anthropic.claude-v2:1:18k". |
static ANTHROPIC_CLAUDE_V2_1_200 | Foundation | Base model "anthropic.claude-v2:1:200k". |
static COHERE_COMMAND_LIGHT_TEXT_V14_7_4 | Foundation | Base model "cohere.command-light-text-v14:7:4k". |
static COHERE_COMMAND_LIGHT_V14 | Foundation | Base model "cohere.command-light-text-v14". |
static COHERE_COMMAND_TEXT_V14_7_4 | Foundation | Base model "cohere.command-text-v14:7:4k". |
static COHERE_COMMAND_V14 | Foundation | Base model "cohere.command-text-v14". |
static COHERE_EMBED_ENGLISH_V3 | Foundation | Base model "cohere.embed-english-v3". |
static COHERE_EMBED_MULTILINGUAL_V3 | Foundation | Base model "cohere.embed-multilingual-v3". |
static META_LLAMA_2_13 | Foundation | Base model "meta.llama2-13b-chat-v1:0:4k". |
static META_LLAMA_2_13 | Foundation | Base model "meta.llama2-13b-v1". |
static META_LLAMA_2_13 | Foundation | Base model "meta.llama2-13b-v1:0:4k". |
static META_LLAMA_2_70 | Foundation | Base model "meta.llama2-70b-chat-v1:0:4k". |
static META_LLAMA_2_70 | Foundation | Base model "meta.llama2-70b-v1". |
static META_LLAMA_2_70 | Foundation | Base model "meta.llama2-70b-v1:0:4k". |
static META_LLAMA_2_CHAT_13 | Foundation | Base model "meta.llama2-13b-chat-v1". |
static META_LLAMA_2_CHAT_70 | Foundation | Base model "meta.llama2-70b-chat-v1". |
static MISTRAL_MISTRAL_7 | Foundation | Base model "mistral.mistral-7b-instruct-v0:2". |
static MISTRAL_MIXTRAL_8 | Foundation | Base model "mistral.mixtral-8x7b-instruct-v0:1". |
static STABILITY_STABLE_DIFFUSION_XL | Foundation | Base model "stability.stable-diffusion-xl". |
static STABILITY_STABLE_DIFFUSION_XL_V0 | Foundation | Base model "stability.stable-diffusion-xl-v0". |
static STABILITY_STABLE_DIFFUSION_XL_V1 | Foundation | Base model "stability.stable-diffusion-xl-v1". |
static STABILITY_STABLE_DIFFUSION_XL_V1_0 | Foundation | Base model "stability.stable-diffusion-xl-v1:0". |
modelId
Type:
string
the model identifier.
static AI21_J2_GRANDE_INSTRUCT
Type:
Foundation
Base model "ai21.j2-grande-instruct".
static AI21_J2_JUMBO_INSTRUCT
Type:
Foundation
Base model "ai21.j2-jumbo-instruct".
static AI21_J2_MID
Type:
Foundation
Base model "ai21.j2-mid".
static AI21_J2_ULTRA
Type:
Foundation
Base model "ai21.j2-ultra".
static AI21_LABS_JURASSIC_2_MID_V1
Type:
Foundation
Base model "ai21.j2-mid-v1".
static AI21_LABS_JURASSIC_2_ULTRA_V1
Type:
Foundation
Base model "ai21.j2-ultra-v1".
static AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1
Type:
Foundation
Base model "amazon.titan-embed-text-v1".
static AMAZON_TITAN_EMBED_G1_TEXT_02
Type:
Foundation
Base model "amazon.titan-embed-g1-text-02".
static AMAZON_TITAN_EMBED_IMAGE_V1_0
Type:
Foundation
Base model "amazon.titan-embed-image-v1:0".
static AMAZON_TITAN_EMBED_TEXT_V1_2_8K
Type:
Foundation
Base model "amazon.titan-embed-text-v1:2:8k".
static AMAZON_TITAN_IMAGE_GENERATOR_G1_V1
Type:
Foundation
Base model "amazon.titan-image-generator-v1".
static AMAZON_TITAN_IMAGE_GENERATOR_V1_0
Type:
Foundation
Base model "amazon.titan-image-generator-v1:0".
static AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1
Type:
Foundation
Base model "amazon.titan-embed-image-v1".
static AMAZON_TITAN_TEXT_EXPRESS_V1_0_8K
Type:
Foundation
Base model "amazon.titan-text-express-v1:0:8k".
static AMAZON_TITAN_TEXT_G1_EXPRESS_V1
Type:
Foundation
Base model "amazon.titan-text-express-v1".
static AMAZON_TITAN_TEXT_LITE_V1
Type:
Foundation
Base model "amazon.titan-text-lite-v1".
static AMAZON_TITAN_TEXT_LITE_V1_0_4K
Type:
Foundation
Base model "amazon.titan-text-lite-v1:0:4k".
static AMAZON_TITAN_TG1_LARGE
Type:
Foundation
Base model "amazon.titan-tg1-large".
static ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0
Type:
Foundation
Base model "anthropic.claude-3-haiku-20240307-v1:0".
static ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_200K
Type:
Foundation
Base model "anthropic.claude-3-haiku-20240307-v1:0:200k".
static ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_48K
Type:
Foundation
Base model "anthropic.claude-3-haiku-20240307-v1:0:48k".
static ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0
Type:
Foundation
Base model "anthropic.claude-3-opus-20240229-v1:0".
static ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0
Type:
Foundation
Base model "anthropic.claude-3-sonnet-20240229-v1:0".
static ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200K
Type:
Foundation
Base model "anthropic.claude-3-sonnet-20240229-v1:0:200k".
static ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_28K
Type:
Foundation
Base model "anthropic.claude-3-sonnet-20240229-v1:0:28k".
static ANTHROPIC_CLAUDE_INSTANT_V1
Type:
Foundation
Base model "anthropic.claude-instant-v1".
static ANTHROPIC_CLAUDE_INSTANT_V1_2_100K
Type:
Foundation
Base model "anthropic.claude-instant-v1:2:100k".
static ANTHROPIC_CLAUDE_V1
⚠️ Deprecated: use latest version of the model
Type:
Foundation
Base model "anthropic.claude-v1".
static ANTHROPIC_CLAUDE_V2
Type:
Foundation
Base model "anthropic.claude-v2".
static ANTHROPIC_CLAUDE_V2_0_100K
Type:
Foundation
Base model "anthropic.claude-v2:0:100k".
static ANTHROPIC_CLAUDE_V2_0_18K
Type:
Foundation
Base model "anthropic.claude-v2:0:18k".
static ANTHROPIC_CLAUDE_V2_1
Type:
Foundation
Base model "anthropic.claude-v2:1".
static ANTHROPIC_CLAUDE_V2_1_18K
Type:
Foundation
Base model "anthropic.claude-v2:1:18k".
static ANTHROPIC_CLAUDE_V2_1_200K
Type:
Foundation
Base model "anthropic.claude-v2:1:200k".
static COHERE_COMMAND_LIGHT_TEXT_V14_7_4K
Type:
Foundation
Base model "cohere.command-light-text-v14:7:4k".
static COHERE_COMMAND_LIGHT_V14
Type:
Foundation
Base model "cohere.command-light-text-v14".
static COHERE_COMMAND_TEXT_V14_7_4K
Type:
Foundation
Base model "cohere.command-text-v14:7:4k".
static COHERE_COMMAND_V14
Type:
Foundation
Base model "cohere.command-text-v14".
static COHERE_EMBED_ENGLISH_V3
Type:
Foundation
Base model "cohere.embed-english-v3".
static COHERE_EMBED_MULTILINGUAL_V3
Type:
Foundation
Base model "cohere.embed-multilingual-v3".
static META_LLAMA_2_13B_CHAT_V1_0_4K
Type:
Foundation
Base model "meta.llama2-13b-chat-v1:0:4k".
static META_LLAMA_2_13B_V1
Type:
Foundation
Base model "meta.llama2-13b-v1".
static META_LLAMA_2_13B_V1_0_4K
Type:
Foundation
Base model "meta.llama2-13b-v1:0:4k".
static META_LLAMA_2_70B_CHAT_V1_0_4K
Type:
Foundation
Base model "meta.llama2-70b-chat-v1:0:4k".
static META_LLAMA_2_70B_V1
Type:
Foundation
Base model "meta.llama2-70b-v1".
static META_LLAMA_2_70B_V1_0_4K
Type:
Foundation
Base model "meta.llama2-70b-v1:0:4k".
static META_LLAMA_2_CHAT_13B_V1
Type:
Foundation
Base model "meta.llama2-13b-chat-v1".
static META_LLAMA_2_CHAT_70B_V1
Type:
Foundation
Base model "meta.llama2-70b-chat-v1".
static MISTRAL_MISTRAL_7B_INSTRUCT_V0_2
Type:
Foundation
Base model "mistral.mistral-7b-instruct-v0:2".
static MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0_1
Type:
Foundation
Base model "mistral.mixtral-8x7b-instruct-v0:1".
static STABILITY_STABLE_DIFFUSION_XL
⚠️ Deprecated: use latest version of the model
Type:
Foundation
Base model "stability.stable-diffusion-xl".
static STABILITY_STABLE_DIFFUSION_XL_V0
⚠️ Deprecated: use latest version of the model
Type:
Foundation
Base model "stability.stable-diffusion-xl-v0".
static STABILITY_STABLE_DIFFUSION_XL_V1
Type:
Foundation
Base model "stability.stable-diffusion-xl-v1".
static STABILITY_STABLE_DIFFUSION_XL_V1_0
Type:
Foundation
Base model "stability.stable-diffusion-xl-v1:0".