Sha256: 04c59c6527e9bf6708613c03fb0707115649496246df1e4207dac8401d018f4f

Contents?: true

Size: 650 Bytes

Versions: 6

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

module RubyAmazonBedrock
  module PayloadBuilders
    module Anthropic
      # ClaudeV2 is a subclass of Base. It provides functionalities specific to the Anthropic
      # Claude 2 model.
      #
      # @see https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/providers?model=anthropic.claude-v2
      # for more information about the Anthropic model.
      class ClaudeV2 < Base
        # Returns the model ID for the Anthropic Claude 2 model.
        #
        # @return [String] 'anthropic.claude-v2'
        def model_id
          'anthropic.claude-v2'
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-amazon-bedrock-0.2.4 lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb
ruby-amazon-bedrock-0.2.3 lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb
ruby-amazon-bedrock-0.2.2 lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb
ruby-amazon-bedrock-0.2.1 lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb
ruby-amazon-bedrock-0.2.0 lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb
ruby-amazon-bedrock-0.1.1 lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb