aws-sdk-bedrock 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +5 -1
- data/lib/aws-sdk-bedrock/client_api.rb +6 -0
- data/lib/aws-sdk-bedrock/types.rb +21 -1
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +6 -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: 418f3a75dfac5bdc9207f01099f97bfe0fd8092c9a9e87719be1afde5d95c99a
|
4
|
+
data.tar.gz: eade76425ddc80094752736f5e7a784212923a160d39ec0917fae3a49d4ad334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca8d032e4566772d7b21d92370276dbc0f24688618b2d1cdbe12002f7a3b7bf42ab4ed0c1af86224e88c67fa4782a5e378e088a29cceeb35a04b9fc33700ffd
|
7
|
+
data.tar.gz: 561f8cc7c9aca3b860d9591cebd6dd4b52ab4bbaa5e7e5d625e45bba8a175ba6737f4d41908220b08447a79f1639d13efd5b811f1fdb385d8a21ef4896f0a290
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -622,6 +622,9 @@ module Aws::Bedrock
|
|
622
622
|
# bedrock_model: {
|
623
623
|
# model_identifier: "EvaluationModelIdentifier", # required
|
624
624
|
# inference_params: "EvaluationModelInferenceParams",
|
625
|
+
# performance_config: {
|
626
|
+
# latency: "standard", # accepts standard, optimized
|
627
|
+
# },
|
625
628
|
# },
|
626
629
|
# },
|
627
630
|
# ],
|
@@ -2221,6 +2224,7 @@ module Aws::Bedrock
|
|
2221
2224
|
# resp.inference_config.models #=> Array
|
2222
2225
|
# resp.inference_config.models[0].bedrock_model.model_identifier #=> String
|
2223
2226
|
# resp.inference_config.models[0].bedrock_model.inference_params #=> String
|
2227
|
+
# resp.inference_config.models[0].bedrock_model.performance_config.latency #=> String, one of "standard", "optimized"
|
2224
2228
|
# resp.inference_config.rag_configs #=> Array
|
2225
2229
|
# resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_id #=> String
|
2226
2230
|
# resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.number_of_results #=> Integer
|
@@ -4633,7 +4637,7 @@ module Aws::Bedrock
|
|
4633
4637
|
tracer: tracer
|
4634
4638
|
)
|
4635
4639
|
context[:gem_name] = 'aws-sdk-bedrock'
|
4636
|
-
context[:gem_version] = '1.
|
4640
|
+
context[:gem_version] = '1.33.0'
|
4637
4641
|
Seahorse::Client::Request.new(handlers, context)
|
4638
4642
|
end
|
4639
4643
|
|
@@ -370,6 +370,8 @@ module Aws::Bedrock
|
|
370
370
|
OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
|
371
371
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
372
372
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
373
|
+
PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency')
|
374
|
+
PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration')
|
373
375
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
374
376
|
PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn')
|
375
377
|
PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription')
|
@@ -731,6 +733,7 @@ module Aws::Bedrock
|
|
731
733
|
|
732
734
|
EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier"))
|
733
735
|
EvaluationBedrockModel.add_member(:inference_params, Shapes::ShapeRef.new(shape: EvaluationModelInferenceParams, location_name: "inferenceParams"))
|
736
|
+
EvaluationBedrockModel.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
|
734
737
|
EvaluationBedrockModel.struct_class = Types::EvaluationBedrockModel
|
735
738
|
|
736
739
|
EvaluationConfig.add_member(:automated, Shapes::ShapeRef.new(shape: AutomatedEvaluationConfig, location_name: "automated"))
|
@@ -1626,6 +1629,9 @@ module Aws::Bedrock
|
|
1626
1629
|
OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
1627
1630
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
1628
1631
|
|
1632
|
+
PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency"))
|
1633
|
+
PerformanceConfiguration.struct_class = Types::PerformanceConfiguration
|
1634
|
+
|
1629
1635
|
PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary)
|
1630
1636
|
|
1631
1637
|
PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName"))
|
@@ -1303,11 +1303,16 @@ module Aws::Bedrock
|
|
1303
1303
|
# change how the model behaves during inference.
|
1304
1304
|
# @return [String]
|
1305
1305
|
#
|
1306
|
+
# @!attribute [rw] performance_config
|
1307
|
+
# Specifies performance settings for the model or inference profile.
|
1308
|
+
# @return [Types::PerformanceConfiguration]
|
1309
|
+
#
|
1306
1310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationBedrockModel AWS API Documentation
|
1307
1311
|
#
|
1308
1312
|
class EvaluationBedrockModel < Struct.new(
|
1309
1313
|
:model_identifier,
|
1310
|
-
:inference_params
|
1314
|
+
:inference_params,
|
1315
|
+
:performance_config)
|
1311
1316
|
SENSITIVE = [:inference_params]
|
1312
1317
|
include Aws::Structure
|
1313
1318
|
end
|
@@ -5978,6 +5983,21 @@ module Aws::Bedrock
|
|
5978
5983
|
include Aws::Structure
|
5979
5984
|
end
|
5980
5985
|
|
5986
|
+
# Contains performance settings for a model.
|
5987
|
+
#
|
5988
|
+
# @!attribute [rw] latency
|
5989
|
+
# Specifies whether to use the latency-optimized or standard version
|
5990
|
+
# of a model or inference profile.
|
5991
|
+
# @return [String]
|
5992
|
+
#
|
5993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PerformanceConfiguration AWS API Documentation
|
5994
|
+
#
|
5995
|
+
class PerformanceConfiguration < Struct.new(
|
5996
|
+
:latency)
|
5997
|
+
SENSITIVE = []
|
5998
|
+
include Aws::Structure
|
5999
|
+
end
|
6000
|
+
|
5981
6001
|
# Details about a prompt router.
|
5982
6002
|
#
|
5983
6003
|
# @!attribute [rw] prompt_router_name
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -346,6 +346,7 @@ module Aws::Bedrock
|
|
346
346
|
class EvaluationBedrockModel
|
347
347
|
attr_accessor model_identifier: ::String
|
348
348
|
attr_accessor inference_params: ::String
|
349
|
+
attr_accessor performance_config: Types::PerformanceConfiguration
|
349
350
|
SENSITIVE: [:inference_params]
|
350
351
|
end
|
351
352
|
|
@@ -1448,6 +1449,11 @@ module Aws::Bedrock
|
|
1448
1449
|
SENSITIVE: []
|
1449
1450
|
end
|
1450
1451
|
|
1452
|
+
class PerformanceConfiguration
|
1453
|
+
attr_accessor latency: ("standard" | "optimized")
|
1454
|
+
SENSITIVE: []
|
1455
|
+
end
|
1456
|
+
|
1451
1457
|
class PromptRouterSummary
|
1452
1458
|
attr_accessor prompt_router_name: ::String
|
1453
1459
|
attr_accessor routing_criteria: Types::RoutingCriteria
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.33.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:
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|