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.94.0 (build b380f01)",
date="2024-03-14T22:21:50.955Z")
@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.fromFoundationModelId(this, "Model", FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2);
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FoundationModelIdentifierBase model "ai21.j2-mid-v1".static final FoundationModelIdentifierBase model "ai21.j2-ultra-v1".static final FoundationModelIdentifierBase model "amazon.titan-embed-text-v1".static final FoundationModelIdentifierBase model "amazon.titan-image-generator-v1".static final FoundationModelIdentifierBase model "amazon.titan-embed-image-v1".static final FoundationModelIdentifierBase model "amazon.titan-text-express-v1".static final FoundationModelIdentifierBase model "anthropic.claude-instant-v1".static final FoundationModelIdentifierBase model "anthropic.claude-v1".static final FoundationModelIdentifierBase model "anthropic.claude-v2".static final FoundationModelIdentifierBase model "anthropic.claude-v2:1".static final FoundationModelIdentifierBase model "cohere.command-light-text-v14".static final FoundationModelIdentifierBase model "cohere.command-text-v14".static final FoundationModelIdentifierBase model "cohere.embed-english-v3".static final FoundationModelIdentifierBase model "cohere.embed-multilingual-v3".static final FoundationModelIdentifierBase model "meta.llama2-13b-chat-v1".static final FoundationModelIdentifierBase model "meta.llama2-70b-chat-v1".static final FoundationModelIdentifierBase model "stability.stable-diffusion-xl-v0".static final FoundationModelIdentifierBase model "stability.stable-diffusion-xl-v1". -
Constructor Summary
ConstructorsModifierConstructorDescriptionFoundationModelIdentifier(String modelId) Constructor for foundation model identifier.protectedFoundationModelIdentifier(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedFoundationModelIdentifier(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
AI21_LABS_JURASSIC_2_MID_V1
Base model "ai21.j2-mid-v1". -
AI21_LABS_JURASSIC_2_ULTRA_V1
Base model "ai21.j2-ultra-v1". -
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_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_G1_EXPRESS_V1
Base model "amazon.titan-text-express-v1". -
ANTHROPIC_CLAUDE_INSTANT_V1
Base model "anthropic.claude-instant-v1". -
ANTHROPIC_CLAUDE_V1
Base model "anthropic.claude-v1". -
ANTHROPIC_CLAUDE_V2
Base model "anthropic.claude-v2". -
ANTHROPIC_CLAUDE_V2_1
Base model "anthropic.claude-v2:1". -
COHERE_COMMAND_LIGHT_V14
Base model "cohere.command-light-text-v14". -
COHERE_COMMAND_V14
Base model "cohere.command-text-v14". -
COHERE_EMBED_ENGLISH_V3
Base model "cohere.embed-english-v3". -
COHERE_EMBED_MULTILINGUAL_V3
Base model "cohere.embed-multilingual-v3". -
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". -
STABILITY_STABLE_DIFFUSION_XL_V0
Base model "stability.stable-diffusion-xl-v0". -
STABILITY_STABLE_DIFFUSION_XL_V1
Base model "stability.stable-diffusion-xl-v1".
-
-
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.
-