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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +6 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +2 -0
- data/lib/aws-sdk-bedrockagent/types.rb +15 -1
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62aabacc0f7bb03f79fded448983e6fc05f87a572fe1b2546c03a8f948cf3426
|
4
|
+
data.tar.gz: 5dccda9a7e64f851d9269fa0fc7d52b1a90e37293e8d033773de1a51ec5887b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61b190ef91e15c245c12bf9a54fea19501df996fb43c1ac9faa886b3658ce9af6cd72e5423ce74416c3d48f9badca8f804903ba5059069e293fb1fab7e1c47d5
|
7
|
+
data.tar.gz: dbbea97fa25a90e5c6b23779c422d8980bc911d8cdec04b2b8b1b64ec89b87e9eeac470fbd0b3322cfe3a4b8b4c2c544bd8b3c8dba8163ff782036bfe957b899
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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.
|
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
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
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
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.
|
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-
|
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
|