Class FoundationModelIdentifier
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.FoundationModelIdentifier
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:05.187Z")
@Stability(Stable)
public class FoundationModelIdentifier
extends software.amazon.jsii.JsiiObject
The model identifiers for the Bedrock base foundation models.
Example:
import software.amazon.awscdk.services.bedrock.*; FoundationModel model = FoundationModel.fromFoundationModelId(this, "Model", FoundationModelIdentifier.AMAZON_TITAN_TEXT_G1_EXPRESS_V1); BedrockInvokeModel task = BedrockInvokeModel.Builder.create(this, "Prompt Model") .model(model) .input(BedrockInvokeModelInputProps.builder().s3InputUri(JsonPath.stringAt("$.prompt")).build()) .output(BedrockInvokeModelOutputProps.builder().s3OutputUri(JsonPath.stringAt("$.prompt")).build()) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FoundationModelIdentifier
Base model "ai21.j2-grande-instruct".static final FoundationModelIdentifier
Base model "ai21.jamba-instruct-v1:0".static final FoundationModelIdentifier
Base model "ai21.j2-jumbo-instruct".static final FoundationModelIdentifier
Base model "ai21.j2-mid".static final FoundationModelIdentifier
Base model "ai21.j2-ultra".static final FoundationModelIdentifier
Base model "ai21.jamba-1-5-large-v1:0".static final FoundationModelIdentifier
Base model "ai21.jamba-1-5-mini-v1:0".static final FoundationModelIdentifier
Base model "ai21.j2-mid-v1".static final FoundationModelIdentifier
Base model "ai21.j2-ultra-v1".static final FoundationModelIdentifier
Base model "ai21.j2-ultra-v1:0:8k".static final FoundationModelIdentifier
Base model "amazon.titan-embed-g1-text-02".static final FoundationModelIdentifier
Base model "amazon.titan-embed-image-v1:0".static final FoundationModelIdentifier
Base model "amazon.titan-embed-text-v1:2:8k".static final FoundationModelIdentifier
Base model "amazon.titan-embed-text-v2:0".static final FoundationModelIdentifier
Base model "amazon.titan-embed-text-v2:0:8k".static final FoundationModelIdentifier
Base model "amazon.titan-embed-text-v1".static final FoundationModelIdentifier
Base model "amazon.titan-image-generator-v1".static final FoundationModelIdentifier
Base model "amazon.titan-image-generator-v1:0".static final FoundationModelIdentifier
Base model "amazon.titan-image-generator-v2:0".static final FoundationModelIdentifier
Base model "amazon.titan-embed-image-v1".static final FoundationModelIdentifier
Base model "amazon.titan-text-express-v1:0:8k".static final FoundationModelIdentifier
Base model "amazon.titan-text-express-v1".static final FoundationModelIdentifier
Base model "amazon.titan-text-lite-v1".static final FoundationModelIdentifier
Base model "amazon.titan-text-lite-v1".static final FoundationModelIdentifier
Base model "amazon.titan-text-lite-v1:0:4k".static final FoundationModelIdentifier
Base model "amazon.titan-text-premier-v1:0".static final FoundationModelIdentifier
Base model "amazon.titan-tg1-large".static final FoundationModelIdentifier
Base model "anthropic.claude-3-5-haiku-20241022-v1:0".static final FoundationModelIdentifier
Base model "anthropic.claude-3-5-sonnet-20240620-v1:0".static final FoundationModelIdentifier
Base model "anthropic.claude-3-5-sonnet-20241022-v2:0".static final FoundationModelIdentifier
Base model "anthropic.claude-3-haiku-20240307-v1:0".static final FoundationModelIdentifier
Base model "anthropic.claude-3-haiku-20240307-v1:0:200k".static final FoundationModelIdentifier
Base model "anthropic.claude-3-haiku-20240307-v1:0:48k".static final FoundationModelIdentifier
Base model "anthropic.claude-3-opus-20240229-v1:0".static final FoundationModelIdentifier
Base model "anthropic.claude-3-sonnet-20240229-v1:0".static final FoundationModelIdentifier
Base model "anthropic.claude-3-sonnet-20240229-v1:0:200k".static final FoundationModelIdentifier
Base model "anthropic.claude-3-sonnet-20240229-v1:0:28k".static final FoundationModelIdentifier
Base model "anthropic.claude-instant-v1".static final FoundationModelIdentifier
Base model "anthropic.claude-instant-v1:2:100k".static final FoundationModelIdentifier
Deprecated.use latest version of the modelstatic final FoundationModelIdentifier
Base model "anthropic.claude-v2".static final FoundationModelIdentifier
Base model "anthropic.claude-v2:0:100k".static final FoundationModelIdentifier
Base model "anthropic.claude-v2:0:18k".static final FoundationModelIdentifier
Base model "anthropic.claude-v2:1".static final FoundationModelIdentifier
Base model "anthropic.claude-v2:1:18k".static final FoundationModelIdentifier
Base model "anthropic.claude-v2:1:200k".static final FoundationModelIdentifier
Base model "cohere.command-light-text-v14:7:4k".static final FoundationModelIdentifier
Base model "cohere.command-light-text-v14".static final FoundationModelIdentifier
Base model "cohere.command-r-v1:0".static final FoundationModelIdentifier
Base model "cohere.command-r-v1:0".static final FoundationModelIdentifier
Base model "cohere.command-text-v14:7:4k".static final FoundationModelIdentifier
Base model "cohere.command-text-v14".static final FoundationModelIdentifier
Base model "cohere.embed-english-v3".static final FoundationModelIdentifier
Base model "cohere.embed-english-v3:0:512".static final FoundationModelIdentifier
Base model "cohere.embed-multilingual-v3".static final FoundationModelIdentifier
Base model "cohere.embed-multilingual-v3:0:512".static final FoundationModelIdentifier
Base model "meta.llama2-13b-chat-v1:0:4k".static final FoundationModelIdentifier
Base model "meta.llama2-13b-v1".static final FoundationModelIdentifier
Base model "meta.llama2-13b-v1:0:4k".static final FoundationModelIdentifier
Base model "meta.llama2-70b-chat-v1:0:4k".static final FoundationModelIdentifier
Base model "meta.llama2-70b-v1".static final FoundationModelIdentifier
Base model "meta.llama2-70b-v1:0:4k".static final FoundationModelIdentifier
Base model "meta.llama2-13b-chat-v1".static final FoundationModelIdentifier
Base model "meta.llama2-70b-chat-v1".static final FoundationModelIdentifier
Base model "meta.llama3-1-405b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-1-70b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-1-8b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-2-1b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-2-11b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-2-3b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-2-90b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-70b-instruct-v1:0".static final FoundationModelIdentifier
Base model "meta.llama3-8b-instruct-v1:0".static final FoundationModelIdentifier
Base model "mistral.mistral-large-2407-v1:0".static final FoundationModelIdentifier
Base model "mistral.mistral-large-2402-v1:0".static final FoundationModelIdentifier
Base model "mistral.mistral-7b-instruct-v0:2".static final FoundationModelIdentifier
Base model "mistral.mixtral-8x7b-instruct-v0:1".static final FoundationModelIdentifier
Base model "mistral.mistral-small-2402-v1:0".static final FoundationModelIdentifier
Base model "stability.sd3-large-v1:0".static final FoundationModelIdentifier
Deprecated.use latest version of the modelstatic final FoundationModelIdentifier
Deprecated.use latest version of the modelstatic final FoundationModelIdentifier
Base model "stability.stable-diffusion-xl-v1".static final FoundationModelIdentifier
Base model "stability.stable-diffusion-xl-v1:0".static final FoundationModelIdentifier
Base model "stability.stable-image-core-v1:0".static final FoundationModelIdentifier
Base model "stability.stable-image-ultra-v1:0". -
Constructor Summary
ModifierConstructorDescriptionFoundationModelIdentifier
(String modelId) Constructor for foundation model identifier.protected
FoundationModelIdentifier
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
FoundationModelIdentifier
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
AI21_J2_GRANDE_INSTRUCT
Base model "ai21.j2-grande-instruct". -
AI21_J2_JAMBA_INSTRUCT_V1_0
Base model "ai21.jamba-instruct-v1:0". -
AI21_J2_JUMBO_INSTRUCT
Base model "ai21.j2-jumbo-instruct". -
AI21_J2_MID
Base model "ai21.j2-mid". -
AI21_J2_ULTRA
Base model "ai21.j2-ultra". -
AI21_JAMBA_1_5_LARGE_V_1_0
Base model "ai21.jamba-1-5-large-v1:0". -
AI21_JAMBA_1_5_MINI_V_1_0
Base model "ai21.jamba-1-5-mini-v1:0". -
AI21_LABS_JURASSIC_2_MID_V1
Base model "ai21.j2-mid-v1". -
AI21_LABS_JURASSIC_2_ULTRA_V1
Base model "ai21.j2-ultra-v1". -
AI21_LABS_JURASSIC_2_ULTRA_V1_0_8_K
@Stability(Stable) public static final FoundationModelIdentifier AI21_LABS_JURASSIC_2_ULTRA_V1_0_8_KBase model "ai21.j2-ultra-v1:0:8k". -
AMAZON_TITAN_EMBED_G1_TEXT_02
Base model "amazon.titan-embed-g1-text-02". -
AMAZON_TITAN_EMBED_IMAGE_V1_0
Base model "amazon.titan-embed-image-v1:0". -
AMAZON_TITAN_EMBED_TEXT_V1_2_8_K
Base model "amazon.titan-embed-text-v1:2:8k". -
AMAZON_TITAN_EMBED_TEXT_V2_0
Base model "amazon.titan-embed-text-v2:0". -
AMAZON_TITAN_EMBED_TEXT_V2_0_8_K
Base model "amazon.titan-embed-text-v2:0:8k". -
AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1
Base model "amazon.titan-embed-text-v1". -
AMAZON_TITAN_IMAGE_GENERATOR_G1_V1
Base model "amazon.titan-image-generator-v1". -
AMAZON_TITAN_IMAGE_GENERATOR_V1_0
Base model "amazon.titan-image-generator-v1:0". -
AMAZON_TITAN_IMAGE_GENERATOR_V2_0
Base model "amazon.titan-image-generator-v2:0". -
AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1
@Stability(Stable) public static final FoundationModelIdentifier AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1Base model "amazon.titan-embed-image-v1". -
AMAZON_TITAN_TEXT_EXPRESS_V1_0_8_K
Base model "amazon.titan-text-express-v1:0:8k". -
AMAZON_TITAN_TEXT_G1_EXPRESS_V1
Base model "amazon.titan-text-express-v1". -
AMAZON_TITAN_TEXT_G1_LITE_V1
Base model "amazon.titan-text-lite-v1". -
AMAZON_TITAN_TEXT_LITE_V1
Base model "amazon.titan-text-lite-v1". -
AMAZON_TITAN_TEXT_LITE_V1_0_4_K
Base model "amazon.titan-text-lite-v1:0:4k". -
AMAZON_TITAN_TEXT_PREMIER_V1
Base model "amazon.titan-text-premier-v1:0". -
AMAZON_TITAN_TG1_LARGE
Base model "amazon.titan-tg1-large". -
ANTHROPIC_CLAUDE_3_5_HAIKU_20241022_V1_0
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_5_HAIKU_20241022_V1_0Base model "anthropic.claude-3-5-haiku-20241022-v1:0". -
ANTHROPIC_CLAUDE_3_5_SONNET_20240620_V1_0
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_5_SONNET_20240620_V1_0Base model "anthropic.claude-3-5-sonnet-20240620-v1:0". -
ANTHROPIC_CLAUDE_3_5_SONNET_20241022_V2_0
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_5_SONNET_20241022_V2_0Base model "anthropic.claude-3-5-sonnet-20241022-v2:0". -
ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0Base model "anthropic.claude-3-haiku-20240307-v1:0". -
ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_200_K
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_200_KBase model "anthropic.claude-3-haiku-20240307-v1:0:200k". -
ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_48_K
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_48_KBase model "anthropic.claude-3-haiku-20240307-v1:0:48k". -
ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0Base model "anthropic.claude-3-opus-20240229-v1:0". -
ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0Base model "anthropic.claude-3-sonnet-20240229-v1:0". -
ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200_K
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200_KBase model "anthropic.claude-3-sonnet-20240229-v1:0:200k". -
ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_28_K
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_28_KBase model "anthropic.claude-3-sonnet-20240229-v1:0:28k". -
ANTHROPIC_CLAUDE_INSTANT_V1
Base model "anthropic.claude-instant-v1". -
ANTHROPIC_CLAUDE_INSTANT_V1_2_100_K
@Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_INSTANT_V1_2_100_KBase model "anthropic.claude-instant-v1:2:100k". -
ANTHROPIC_CLAUDE_V1
@Stability(Deprecated) @Deprecated public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_V1Deprecated.use latest version of the model(deprecated) Base model "anthropic.claude-v1". -
ANTHROPIC_CLAUDE_V2
Base model "anthropic.claude-v2". -
ANTHROPIC_CLAUDE_V2_0_100_K
Base model "anthropic.claude-v2:0:100k". -
ANTHROPIC_CLAUDE_V2_0_18_K
Base model "anthropic.claude-v2:0:18k". -
ANTHROPIC_CLAUDE_V2_1
Base model "anthropic.claude-v2:1". -
ANTHROPIC_CLAUDE_V2_1_18_K
Base model "anthropic.claude-v2:1:18k". -
ANTHROPIC_CLAUDE_V2_1_200_K
Base model "anthropic.claude-v2:1:200k". -
COHERE_COMMAND_LIGHT_TEXT_V14_7_4_K
@Stability(Stable) public static final FoundationModelIdentifier COHERE_COMMAND_LIGHT_TEXT_V14_7_4_KBase model "cohere.command-light-text-v14:7:4k". -
COHERE_COMMAND_LIGHT_V14
Base model "cohere.command-light-text-v14". -
COHERE_COMMAND_R_PLUS_V1
Base model "cohere.command-r-v1:0". -
COHERE_COMMAND_R_V1
Base model "cohere.command-r-v1:0". -
COHERE_COMMAND_TEXT_V14_7_4_K
Base model "cohere.command-text-v14:7:4k". -
COHERE_COMMAND_V14
Base model "cohere.command-text-v14". -
COHERE_EMBED_ENGLISH_V3
Base model "cohere.embed-english-v3". -
COHERE_EMBED_ENGLISH_V3_0_512
Base model "cohere.embed-english-v3:0:512". -
COHERE_EMBED_MULTILINGUAL_V3
Base model "cohere.embed-multilingual-v3". -
COHERE_EMBED_MULTILINGUAL_V3_0_512
Base model "cohere.embed-multilingual-v3:0:512". -
META_LLAMA_2_13_B_CHAT_V1_0_4_K
Base model "meta.llama2-13b-chat-v1:0:4k". -
META_LLAMA_2_13_B_V1
Base model "meta.llama2-13b-v1". -
META_LLAMA_2_13_B_V1_0_4_K
Base model "meta.llama2-13b-v1:0:4k". -
META_LLAMA_2_70_B_CHAT_V1_0_4_K
Base model "meta.llama2-70b-chat-v1:0:4k". -
META_LLAMA_2_70_B_V1
Base model "meta.llama2-70b-v1". -
META_LLAMA_2_70_B_V1_0_4_K
Base model "meta.llama2-70b-v1:0:4k". -
META_LLAMA_2_CHAT_13_B_V1
Base model "meta.llama2-13b-chat-v1". -
META_LLAMA_2_CHAT_70_B_V1
Base model "meta.llama2-70b-chat-v1". -
META_LLAMA_3_1_405_INSTRUCT_V1
Base model "meta.llama3-1-405b-instruct-v1:0". -
META_LLAMA_3_1_70_INSTRUCT_V1
Base model "meta.llama3-1-70b-instruct-v1:0". -
META_LLAMA_3_1_8_B_INSTRUCT_V1
Base model "meta.llama3-1-8b-instruct-v1:0". -
META_LLAMA_3_2_11_B_INSTRUCT_V1
Base model "meta.llama3-2-11b-instruct-v1:0". -
META_LLAMA_3_2_1_B_INSTRUCT_V1
Base model "meta.llama3-2-1b-instruct-v1:0". -
META_LLAMA_3_2_3_B_INSTRUCT_V1
Base model "meta.llama3-2-3b-instruct-v1:0". -
META_LLAMA_3_2_90_B_INSTRUCT_V1
Base model "meta.llama3-2-90b-instruct-v1:0". -
META_LLAMA_3_70_INSTRUCT_V1
Base model "meta.llama3-70b-instruct-v1:0". -
META_LLAMA_3_8_B_INSTRUCT_V1
Base model "meta.llama3-8b-instruct-v1:0". -
MISTRAL_LARGE_2_V0_1
Base model "mistral.mistral-large-2407-v1:0". -
MISTRAL_LARGE_V0_1
Base model "mistral.mistral-large-2402-v1:0". -
MISTRAL_MISTRAL_7_B_INSTRUCT_V0_2
Base model "mistral.mistral-7b-instruct-v0:2". -
MISTRAL_MIXTRAL_8_X7_B_INSTRUCT_V0_1
@Stability(Stable) public static final FoundationModelIdentifier MISTRAL_MIXTRAL_8_X7_B_INSTRUCT_V0_1Base model "mistral.mixtral-8x7b-instruct-v0:1". -
MISTRAL_SMALL_V0_1
Base model "mistral.mistral-small-2402-v1:0". -
STABILITY_SD3_LARGE_V1_0
Base model "stability.sd3-large-v1:0". -
STABILITY_STABLE_DIFFUSION_XL
@Stability(Deprecated) @Deprecated public static final FoundationModelIdentifier STABILITY_STABLE_DIFFUSION_XLDeprecated.use latest version of the model(deprecated) Base model "stability.stable-diffusion-xl". -
STABILITY_STABLE_DIFFUSION_XL_V0
@Stability(Deprecated) @Deprecated public static final FoundationModelIdentifier STABILITY_STABLE_DIFFUSION_XL_V0Deprecated.use latest version of the model(deprecated) Base model "stability.stable-diffusion-xl-v0". -
STABILITY_STABLE_DIFFUSION_XL_V1
Base model "stability.stable-diffusion-xl-v1". -
STABILITY_STABLE_DIFFUSION_XL_V1_0
Base model "stability.stable-diffusion-xl-v1:0". -
STABILITY_STABLE_IMAGE_CORE_V1_0
Base model "stability.stable-image-core-v1:0". -
STABILITY_STABLE_IMAGE_ULTRA_V1_0
Base model "stability.stable-image-ultra-v1:0".
-
-
Constructor Details
-
FoundationModelIdentifier
protected FoundationModelIdentifier(software.amazon.jsii.JsiiObjectRef objRef) -
FoundationModelIdentifier
protected FoundationModelIdentifier(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
FoundationModelIdentifier
Constructor for foundation model identifier.- Parameters:
modelId
- the model identifier. This parameter is required.
-
-
Method Details
-
getModelId
the model identifier.
-