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.93.0 (build 1706ca5)", date="2024-01-03T18:29:22.515Z") @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:
  • Field Details

    • AI21_LABS_JURASSIC_2_MID_V1

      @Stability(Stable) public static final FoundationModelIdentifier AI21_LABS_JURASSIC_2_MID_V1
      Base model "ai21.j2-mid-v1".
    • AI21_LABS_JURASSIC_2_ULTRA_V1

      @Stability(Stable) public static final FoundationModelIdentifier AI21_LABS_JURASSIC_2_ULTRA_V1
      Base model "ai21.j2-ultra-v1".
    • AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1

      @Stability(Stable) public static final FoundationModelIdentifier AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1
      Base model "amazon.titan-embed-text-v1".
    • AMAZON_TITAN_IMAGE_GENERATOR_G1_V1

      @Stability(Stable) public static final FoundationModelIdentifier 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_V1
      Base model "amazon.titan-embed-image-v1".
    • AMAZON_TITAN_TEXT_G1_EXPRESS_V1

      @Stability(Stable) public static final FoundationModelIdentifier AMAZON_TITAN_TEXT_G1_EXPRESS_V1
      Base model "amazon.titan-text-express-v1".
    • ANTHROPIC_CLAUDE_INSTANT_V1

      @Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_INSTANT_V1
      Base model "anthropic.claude-instant-v1".
    • ANTHROPIC_CLAUDE_V1

      @Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_V1
      Base model "anthropic.claude-v1".
    • ANTHROPIC_CLAUDE_V2

      @Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_V2
      Base model "anthropic.claude-v2".
    • ANTHROPIC_CLAUDE_V2_1

      @Stability(Stable) public static final FoundationModelIdentifier ANTHROPIC_CLAUDE_V2_1
      Base model "anthropic.claude-v2:1".
    • COHERE_COMMAND_LIGHT_V14

      @Stability(Stable) public static final FoundationModelIdentifier COHERE_COMMAND_LIGHT_V14
      Base model "cohere.command-light-text-v14".
    • COHERE_COMMAND_V14

      @Stability(Stable) public static final FoundationModelIdentifier COHERE_COMMAND_V14
      Base model "cohere.command-text-v14".
    • COHERE_EMBED_ENGLISH_V3

      @Stability(Stable) public static final FoundationModelIdentifier COHERE_EMBED_ENGLISH_V3
      Base model "cohere.embed-english-v3".
    • COHERE_EMBED_MULTILINGUAL_V3

      @Stability(Stable) public static final FoundationModelIdentifier COHERE_EMBED_MULTILINGUAL_V3
      Base model "cohere.embed-multilingual-v3".
    • META_LLAMA_2_CHAT_13_B_V1

      @Stability(Stable) public static final FoundationModelIdentifier META_LLAMA_2_CHAT_13_B_V1
      Base model "meta.llama2-13b-chat-v1".
    • META_LLAMA_2_CHAT_70_B_V1

      @Stability(Stable) public static final FoundationModelIdentifier META_LLAMA_2_CHAT_70_B_V1
      Base model "meta.llama2-70b-chat-v1".
  • Constructor Details

    • FoundationModelIdentifier

      protected FoundationModelIdentifier(software.amazon.jsii.JsiiObjectRef objRef)
    • FoundationModelIdentifier

      protected FoundationModelIdentifier(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • FoundationModelIdentifier

      @Stability(Stable) public FoundationModelIdentifier(@NotNull String modelId)
      Constructor for foundation model identifier.

      Parameters:
      modelId - the model identifier. This parameter is required.
  • Method Details

    • getModelId

      @Stability(Stable) @NotNull public String getModelId()
      the model identifier.