Class: RubyAmazonBedrock::PayloadBuilders::Cohere::EmbedEnglishV3

Inherits:
EmbedBase
  • Object
show all
Defined in:
lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb

Overview

EmbedEnglishV3 is a subclass of Base. It provides functionalities specific to the Cohere Embed English model.

for more information about the Cohere model.

Instance Method Summary collapse

Methods inherited from EmbedBase

#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 Cohere Embed English model.

Returns:

  • (String)

    ‘cohere.embed-english-v3’



17
18
19
# File 'lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb', line 17

def model_id
  'cohere.embed-english-v3'
end