aws-sdk-bedrockagent 1.36.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3414020facddac75cefbc36472d96d4bad6c0e8568ca535ca375d48c7b5fb2f
4
- data.tar.gz: 2cd5f6d7db9261b27093719241943461dece4ef23a6b1e4be5cdeacd0bf30f10
3
+ metadata.gz: 62aabacc0f7bb03f79fded448983e6fc05f87a572fe1b2546c03a8f948cf3426
4
+ data.tar.gz: 5dccda9a7e64f851d9269fa0fc7d52b1a90e37293e8d033773de1a51ec5887b8
5
5
  SHA512:
6
- metadata.gz: 8e94b2893c2db2e61530c3a5d6484148bd89dc2eb50cc5c04155b37d7a95fe170e79f209e9b13b4b8972c305720c4b3258ad6a912a518022172229e0dd31719e
7
- data.tar.gz: fff585fddb41fc8dc0610092ffc910d63e2280c1869e384649bc1c5aa3ab0e1d6e14fab213c1787a4ff555171c0068ce0e768559090964234cab0a2855a7b05c
6
+ metadata.gz: 61b190ef91e15c245c12bf9a54fea19501df996fb43c1ac9faa886b3658ce9af6cd72e5423ce74416c3d48f9badca8f804903ba5059069e293fb1fab7e1c47d5
7
+ data.tar.gz: dbbea97fa25a90e5c6b23779c422d8980bc911d8cdec04b2b8b1b64ec89b87e9eeac470fbd0b3322cfe3a4b8b4c2c544bd8b3c8dba8163ff782036bfe957b899
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2024-11-27)
5
+ ------------------
6
+
7
+ * Feature - Add support for specifying embeddingDataType, either FLOAT32 or BINARY
8
+
4
9
  1.36.0 (2024-11-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -1950,6 +1950,7 @@ module Aws::BedrockAgent
1950
1950
  # embedding_model_configuration: {
1951
1951
  # bedrock_embedding_model_configuration: {
1952
1952
  # dimensions: 1,
1953
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
1953
1954
  # },
1954
1955
  # },
1955
1956
  # },
@@ -2027,6 +2028,7 @@ module Aws::BedrockAgent
2027
2028
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
2028
2029
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
2029
2030
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
2031
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
2030
2032
  # resp.knowledge_base.knowledge_base_id #=> String
2031
2033
  # resp.knowledge_base.name #=> String
2032
2034
  # resp.knowledge_base.role_arn #=> String
@@ -3590,6 +3592,7 @@ module Aws::BedrockAgent
3590
3592
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
3591
3593
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
3592
3594
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
3595
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
3593
3596
  # resp.knowledge_base.knowledge_base_id #=> String
3594
3597
  # resp.knowledge_base.name #=> String
3595
3598
  # resp.knowledge_base.role_arn #=> String
@@ -5871,6 +5874,7 @@ module Aws::BedrockAgent
5871
5874
  # embedding_model_configuration: {
5872
5875
  # bedrock_embedding_model_configuration: {
5873
5876
  # dimensions: 1,
5877
+ # embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
5874
5878
  # },
5875
5879
  # },
5876
5880
  # },
@@ -5946,6 +5950,7 @@ module Aws::BedrockAgent
5946
5950
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
5947
5951
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
5948
5952
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
5953
+ # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
5949
5954
  # resp.knowledge_base.knowledge_base_id #=> String
5950
5955
  # resp.knowledge_base.name #=> String
5951
5956
  # resp.knowledge_base.role_arn #=> String
@@ -6436,7 +6441,7 @@ module Aws::BedrockAgent
6436
6441
  tracer: tracer
6437
6442
  )
6438
6443
  context[:gem_name] = 'aws-sdk-bedrockagent'
6439
- context[:gem_version] = '1.36.0'
6444
+ context[:gem_version] = '1.37.0'
6440
6445
  Seahorse::Client::Request.new(handlers, context)
6441
6446
  end
6442
6447
 
@@ -135,6 +135,7 @@ module Aws::BedrockAgent
135
135
  DraftVersion = Shapes::StringShape.new(name: 'DraftVersion')
136
136
  DuplicateConditionExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConditionExpressionFlowValidationDetails')
137
137
  DuplicateConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConnectionsFlowValidationDetails')
138
+ EmbeddingDataType = Shapes::StringShape.new(name: 'EmbeddingDataType')
138
139
  EmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'EmbeddingModelConfiguration')
139
140
  EnabledMemoryTypes = Shapes::ListShape.new(name: 'EnabledMemoryTypes')
140
141
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -706,6 +707,7 @@ module Aws::BedrockAgent
706
707
  AutoToolChoice.struct_class = Types::AutoToolChoice
707
708
 
708
709
  BedrockEmbeddingModelConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
710
+ BedrockEmbeddingModelConfiguration.add_member(:embedding_data_type, Shapes::ShapeRef.new(shape: EmbeddingDataType, location_name: "embeddingDataType"))
709
711
  BedrockEmbeddingModelConfiguration.struct_class = Types::BedrockEmbeddingModelConfiguration
710
712
 
711
713
  BedrockFoundationModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
@@ -997,10 +997,24 @@ module Aws::BedrockAgent
997
997
  # Bedrock embeddings model.
998
998
  # @return [Integer]
999
999
  #
1000
+ # @!attribute [rw] embedding_data_type
1001
+ # The data type for the vectors when using a model to convert text
1002
+ # into vector embeddings. The model must support the specified data
1003
+ # type for vector embeddings. Floating-point (float32) is the default
1004
+ # data type, and is supported by most models for vector embeddings.
1005
+ # See [Supported embeddings models][1] for information on the
1006
+ # available models and their vector data types.
1007
+ #
1008
+ #
1009
+ #
1010
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html
1011
+ # @return [String]
1012
+ #
1000
1013
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockEmbeddingModelConfiguration AWS API Documentation
1001
1014
  #
1002
1015
  class BedrockEmbeddingModelConfiguration < Struct.new(
1003
- :dimensions)
1016
+ :dimensions,
1017
+ :embedding_data_type)
1004
1018
  SENSITIVE = []
1005
1019
  include Aws::Structure
1006
1020
  end
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.36.0'
57
+ GEM_VERSION = '1.37.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -614,7 +614,8 @@ module Aws
614
614
  embedding_model_arn: ::String,
615
615
  embedding_model_configuration: {
616
616
  bedrock_embedding_model_configuration: {
617
- dimensions: ::Integer?
617
+ dimensions: ::Integer?,
618
+ embedding_data_type: ("FLOAT32" | "BINARY")?
618
619
  }?
619
620
  }?
620
621
  }?
@@ -1871,7 +1872,8 @@ module Aws
1871
1872
  embedding_model_arn: ::String,
1872
1873
  embedding_model_configuration: {
1873
1874
  bedrock_embedding_model_configuration: {
1874
- dimensions: ::Integer?
1875
+ dimensions: ::Integer?,
1876
+ embedding_data_type: ("FLOAT32" | "BINARY")?
1875
1877
  }?
1876
1878
  }?
1877
1879
  }?
data/sig/types.rbs CHANGED
@@ -223,6 +223,7 @@ module Aws::BedrockAgent
223
223
 
224
224
  class BedrockEmbeddingModelConfiguration
225
225
  attr_accessor dimensions: ::Integer
226
+ attr_accessor embedding_data_type: ("FLOAT32" | "BINARY")
226
227
  SENSITIVE: []
227
228
  end
228
229
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core