Class: RubyAmazonBedrock::PayloadBuilders::Ai21Labs::J2UltraV1

Inherits:
Base
  • Object
show all
Defined in:
lib/bedrock_runtime/payload_builders/ai_21_labs/j2_ultra_v1.rb

Overview

J2UltraV1 is a subclass of Base. It provides functionalities specific to the AI21 Labs Jurassic-2 Ultra model.

for more information about the AI21 Labs model.

Instance Method Summary collapse

Methods inherited from Base

#build, #parameters

Methods inherited from Base

#build, #initialize, #parameters, #type

Constructor Details

This class inherits a constructor from RubyAmazonBedrock::PayloadBuilders::Base

Instance Method Details

#model_idString

Returns the model ID for the AI21 Labs Jurassic-2 Ultra model.

Returns:

  • (String)

    ‘ai21labs.j2-ultra-v1’



16
17
18
# File 'lib/bedrock_runtime/payload_builders/ai_21_labs/j2_ultra_v1.rb', line 16

def model_id
  'ai21.j2-ultra-v1'
end