Sha256: 58075519b32af69fa41ac20d44e461b686b2806b583be7359c0a81d7acfd4dee

Contents?: true

Size: 708 Bytes

Versions: 6

Compression:

Stored size: 708 Bytes

Contents

# frozen_string_literal: true

require_relative 'embed_base'

module RubyAmazonBedrock
  module PayloadBuilders
    module Cohere
      # EmbedEnglishV3 is a subclass of Base. It provides functionalities specific to the Cohere
      # Embed English model.
      #
      # @see https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/providers?model=cohere.embed-english-v3
      # for more information about the Cohere model.
      class EmbedEnglishV3 < EmbedBase
        # Returns the model ID for the Cohere Embed English model.
        #
        # @return [String] 'cohere.embed-english-v3'
        def model_id
          'cohere.embed-english-v3'
        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/cohere/embed_english_v3.rb
ruby-amazon-bedrock-0.2.3 lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb
ruby-amazon-bedrock-0.2.2 lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb
ruby-amazon-bedrock-0.2.1 lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb
ruby-amazon-bedrock-0.2.0 lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb
ruby-amazon-bedrock-0.1.1 lib/bedrock_runtime/payload_builders/cohere/embed_english_v3.rb