Class: Aws::BedrockAgent::Types::BedrockEmbeddingModelConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb

Overview

The vector configuration details for the Bedrock embeddings model.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#audio ⇒ Array<Types::AudioConfiguration>

Configuration settings for processing audio content in multimodal knowledge bases.

This field is deprecated. Use modelConfiguration instead.

Returns:



1337
1338
1339
1340
1341
1342
1343
1344
1345
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1337

class BedrockEmbeddingModelConfiguration < Struct.new(
  :dimensions,
  :embedding_data_type,
  :audio,
  :video,
  :model_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#dimensions ⇒ Integer

The dimensions details for the vector configuration used on the Bedrock embeddings model.

Returns:

  • (Integer)


1337
1338
1339
1340
1341
1342
1343
1344
1345
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1337

class BedrockEmbeddingModelConfiguration < Struct.new(
  :dimensions,
  :embedding_data_type,
  :audio,
  :video,
  :model_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#embedding_data_type ⇒ String

The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.

Returns:

  • (String)


1337
1338
1339
1340
1341
1342
1343
1344
1345
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1337

class BedrockEmbeddingModelConfiguration < Struct.new(
  :dimensions,
  :embedding_data_type,
  :audio,
  :video,
  :model_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#model_configuration ⇒ Hash, ...

Model-specific configuration for the embedding model, provided as a JSON object. Use this field to specify settings that apply to the embedding model that you selected, such as how audio and video files are divided into segments.

The fields that this object accepts depend on the embedding model. For the settings that each model accepts, see the documentation for that model.

For an example of a CreateKnowledgeBase request that uses this field to configure a multimodal embedding model, see the Examples section of CreateKnowledgeBase.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


1337
1338
1339
1340
1341
1342
1343
1344
1345
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1337

class BedrockEmbeddingModelConfiguration < Struct.new(
  :dimensions,
  :embedding_data_type,
  :audio,
  :video,
  :model_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#video ⇒ Array<Types::VideoConfiguration>

Configuration settings for processing video content in multimodal knowledge bases.

This field is deprecated. Use modelConfiguration instead.

Returns:



1337
1338
1339
1340
1341
1342
1343
1344
1345
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1337

class BedrockEmbeddingModelConfiguration < Struct.new(
  :dimensions,
  :embedding_data_type,
  :audio,
  :video,
  :model_configuration)
  SENSITIVE = []
  include Aws::Structure
end