Class: RubyAmazonBedrock::PayloadBuilders::Anthropic::ClaudeV2

Inherits:
Base
  • Object
show all
Defined in:
lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb

Overview

ClaudeV2 is a subclass of Base. It provides functionalities specific to the Anthropic Claude 2 model.

for more information about the Anthropic 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 Anthropic Claude 2 model.

Returns:

  • (String)

    ‘anthropic.claude-v2’



15
16
17
# File 'lib/bedrock_runtime/payload_builders/anthropic/claude_v2.rb', line 15

def model_id
  'anthropic.claude-v2'
end