Sha256: 69dfe72f02a8356f708462da05c47ad5b7ebaab5b4cf871448d69ad6b2441fc2

Contents?: true

Size: 681 Bytes

Versions: 4

Compression:

Stored size: 681 Bytes

Contents

# frozen_string_literal: true

# require_relative 'base'

module RubyAmazonBedrock
  module PayloadBuilders
    module Ai21Labs
      # J2UltraV1 is a subclass of Base. It provides functionalities specific to the AI21 Labs Jurassic-2 Ultra model.
      #
      # @see https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/providers?model=ai21.j2-ultra-v1
      # for more information about the AI21 Labs model.
      class J2UltraV1 < Base
        # Returns the model ID for the AI21 Labs Jurassic-2 Ultra model.
        #
        # @return [String] 'ai21labs.j2-ultra-v1'
        def model_id
          'ai21.j2-ultra-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_ultra_v1.rb
ruby-amazon-bedrock-0.2.3 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_ultra_v1.rb
ruby-amazon-bedrock-0.2.2 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_ultra_v1.rb
ruby-amazon-bedrock-0.2.1 lib/bedrock_runtime/payload_builders/ai_21_labs/j2_ultra_v1.rb