Class: RubyAmazonBedrock::PayloadBuilders::Ai21Labs::J2MidV1

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

Overview

J2MidV1 is a subclass of Base. It provides functionalities specific to the AI21 Labs Jurassic-2 Mid 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 Mid model.

Returns:

  • (String)

    ‘ai21labs.j2-mid-v1’



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

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