Sha256: 79861dac0972e4a458c68c49c73860e38ba84314940a1453720c3d15ee153799

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyAmazonBedrock
  module PayloadBuilders
    module Ai21Labs
      # J2MidV1 is a subclass of Base. It provides functionalities specific to the AI21 Labs Jurassic-2 Mid model.
      #
      # @see https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/providers?model=ai21.j2-mid-v1
      # for more information about the AI21 Labs model.
      class J2MidV1 < Base
        # Returns the model ID for the AI21 Labs Jurassic-2 Mid model.
        #
        # @return [String] 'ai21labs.j2-mid-v1'
        def model_id
          'ai21.j2-mid-v1'
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-amazon-bedrock-0.2.4 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_mid_v1.rb
ruby-amazon-bedrock-0.2.3 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_mid_v1.rb
ruby-amazon-bedrock-0.2.2 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_mid_v1.rb
ruby-amazon-bedrock-0.2.1 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_mid_v1.rb