aws-sdk-bedrockagent 1.25.0 → 1.26.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-bedrockagent/client.rb +5 -5
- data/lib/aws-sdk-bedrockagent/client_api.rb +3 -1
- data/lib/aws-sdk-bedrockagent/types.rb +24 -10
- data/lib/aws-sdk-bedrockagent.rb +14 -12
- 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: 27c87e7c8498a571482500a5b7fd5a0e93660a71591e0fb1c453a11878603551
|
4
|
+
data.tar.gz: 8fcf226071415796554e2c17edfdb0b88e8b136a170d00ceeb0dfcad568e86ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67f38d43ab3452a9801ac2cb5ab6a459acdd1539e37d40197f5ed9ea4324051af7454b3582108ce861d411b2591b23524278c8e33e265e455daffebabc36e578
|
7
|
+
data.tar.gz: b1433eae81c3985a0bebc37c170fe2de4f699c26a8dcb4c4bf350443b38539e3457061827c194e5a1563108c17fc0c0f31e5555b18aaa6de9b5e972791dbb7e3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2024-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience.
|
8
|
+
|
4
9
|
1.25.0 (2024-09-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
@@ -576,8 +576,8 @@ module Aws::BedrockAgent
|
|
576
576
|
# A description of the agent.
|
577
577
|
#
|
578
578
|
# @option params [String] :foundation_model
|
579
|
-
# The foundation model to be used for
|
580
|
-
# create.
|
579
|
+
# The Amazon Resource Name (ARN) of the foundation model to be used for
|
580
|
+
# orchestration by the agent you create.
|
581
581
|
#
|
582
582
|
# @option params [Types::GuardrailConfiguration] :guardrail_configuration
|
583
583
|
# The unique Guardrail configuration assigned to the agent when it is
|
@@ -1376,7 +1376,7 @@ module Aws::BedrockAgent
|
|
1376
1376
|
# },
|
1377
1377
|
# knowledge_base: {
|
1378
1378
|
# knowledge_base_id: "KnowledgeBaseId", # required
|
1379
|
-
# model_id: "
|
1379
|
+
# model_id: "KnowledgeBaseModelIdentifier",
|
1380
1380
|
# },
|
1381
1381
|
# lambda_function: {
|
1382
1382
|
# lambda_arn: "LambdaArn", # required
|
@@ -5136,7 +5136,7 @@ module Aws::BedrockAgent
|
|
5136
5136
|
# },
|
5137
5137
|
# knowledge_base: {
|
5138
5138
|
# knowledge_base_id: "KnowledgeBaseId", # required
|
5139
|
-
# model_id: "
|
5139
|
+
# model_id: "KnowledgeBaseModelIdentifier",
|
5140
5140
|
# },
|
5141
5141
|
# lambda_function: {
|
5142
5142
|
# lambda_arn: "LambdaArn", # required
|
@@ -5675,7 +5675,7 @@ module Aws::BedrockAgent
|
|
5675
5675
|
tracer: tracer
|
5676
5676
|
)
|
5677
5677
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
5678
|
-
context[:gem_version] = '1.
|
5678
|
+
context[:gem_version] = '1.26.0'
|
5679
5679
|
Seahorse::Client::Request.new(handlers, context)
|
5680
5680
|
end
|
5681
5681
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
module Aws::BedrockAgent
|
11
12
|
# @api private
|
12
13
|
module ClientApi
|
@@ -243,6 +244,7 @@ module Aws::BedrockAgent
|
|
243
244
|
KnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseConfiguration')
|
244
245
|
KnowledgeBaseFlowNodeConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseFlowNodeConfiguration')
|
245
246
|
KnowledgeBaseId = Shapes::StringShape.new(name: 'KnowledgeBaseId')
|
247
|
+
KnowledgeBaseModelIdentifier = Shapes::StringShape.new(name: 'KnowledgeBaseModelIdentifier')
|
246
248
|
KnowledgeBaseRoleArn = Shapes::StringShape.new(name: 'KnowledgeBaseRoleArn')
|
247
249
|
KnowledgeBaseState = Shapes::StringShape.new(name: 'KnowledgeBaseState')
|
248
250
|
KnowledgeBaseStatus = Shapes::StringShape.new(name: 'KnowledgeBaseStatus')
|
@@ -1336,7 +1338,7 @@ module Aws::BedrockAgent
|
|
1336
1338
|
KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
|
1337
1339
|
|
1338
1340
|
KnowledgeBaseFlowNodeConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
|
1339
|
-
KnowledgeBaseFlowNodeConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
1341
|
+
KnowledgeBaseFlowNodeConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape: KnowledgeBaseModelIdentifier, location_name: "modelId"))
|
1340
1342
|
KnowledgeBaseFlowNodeConfiguration.struct_class = Types::KnowledgeBaseFlowNodeConfiguration
|
1341
1343
|
|
1342
1344
|
KnowledgeBaseSummaries.member = Shapes::ShapeRef.new(shape: KnowledgeBaseSummary)
|
@@ -1409,8 +1409,8 @@ module Aws::BedrockAgent
|
|
1409
1409
|
# @return [String]
|
1410
1410
|
#
|
1411
1411
|
# @!attribute [rw] foundation_model
|
1412
|
-
# The
|
1413
|
-
# create.
|
1412
|
+
# The Amazon Resource Name (ARN) of the foundation model to be used
|
1413
|
+
# for orchestration by the agent you create.
|
1414
1414
|
# @return [String]
|
1415
1415
|
#
|
1416
1416
|
# @!attribute [rw] guardrail_configuration
|
@@ -4592,9 +4592,13 @@ module Aws::BedrockAgent
|
|
4592
4592
|
# @return [String]
|
4593
4593
|
#
|
4594
4594
|
# @!attribute [rw] model_id
|
4595
|
-
# The unique identifier of the model
|
4596
|
-
# from the query results. Omit this field if
|
4597
|
-
# retrieved results as an array.
|
4595
|
+
# The unique identifier of the model or [inference profile][1] to use
|
4596
|
+
# to generate a response from the query results. Omit this field if
|
4597
|
+
# you want to return the retrieved results as an array.
|
4598
|
+
#
|
4599
|
+
#
|
4600
|
+
#
|
4601
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
4598
4602
|
# @return [String]
|
4599
4603
|
#
|
4600
4604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/KnowledgeBaseFlowNodeConfiguration AWS API Documentation
|
@@ -5891,7 +5895,12 @@ module Aws::BedrockAgent
|
|
5891
5895
|
# @return [Types::PromptInferenceConfiguration]
|
5892
5896
|
#
|
5893
5897
|
# @!attribute [rw] model_id
|
5894
|
-
# The unique identifier of the model to run
|
5898
|
+
# The unique identifier of the model or [inference profile][1] to run
|
5899
|
+
# inference with.
|
5900
|
+
#
|
5901
|
+
#
|
5902
|
+
#
|
5903
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
5895
5904
|
# @return [String]
|
5896
5905
|
#
|
5897
5906
|
# @!attribute [rw] template_configuration
|
@@ -6077,8 +6086,8 @@ module Aws::BedrockAgent
|
|
6077
6086
|
# foundation model output in parts of the agent sequence. If you
|
6078
6087
|
# specify this field, at least one of the `promptConfigurations` must
|
6079
6088
|
# contain a `parserMode` value that is set to `OVERRIDDEN`. For more
|
6080
|
-
# information, see [Parser Lambda function in
|
6081
|
-
#
|
6089
|
+
# information, see [Parser Lambda function in Amazon Bedrock
|
6090
|
+
# Agents][1].
|
6082
6091
|
#
|
6083
6092
|
#
|
6084
6093
|
#
|
@@ -6203,8 +6212,12 @@ module Aws::BedrockAgent
|
|
6203
6212
|
# @return [Array<Types::PromptMetadataEntry>]
|
6204
6213
|
#
|
6205
6214
|
# @!attribute [rw] model_id
|
6206
|
-
# The unique identifier of the model
|
6207
|
-
# the prompt.
|
6215
|
+
# The unique identifier of the model or [inference profile][1] with
|
6216
|
+
# which to run inference on the prompt.
|
6217
|
+
#
|
6218
|
+
#
|
6219
|
+
#
|
6220
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
|
6208
6221
|
# @return [String]
|
6209
6222
|
#
|
6210
6223
|
# @!attribute [rw] name
|
@@ -7942,3 +7955,4 @@ module Aws::BedrockAgent
|
|
7942
7955
|
|
7943
7956
|
end
|
7944
7957
|
end
|
7958
|
+
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
@@ -11,17 +11,6 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
require_relative 'aws-sdk-bedrockagent/types'
|
15
|
-
require_relative 'aws-sdk-bedrockagent/client_api'
|
16
|
-
require_relative 'aws-sdk-bedrockagent/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-bedrockagent/client'
|
18
|
-
require_relative 'aws-sdk-bedrockagent/errors'
|
19
|
-
require_relative 'aws-sdk-bedrockagent/resource'
|
20
|
-
require_relative 'aws-sdk-bedrockagent/endpoint_parameters'
|
21
|
-
require_relative 'aws-sdk-bedrockagent/endpoint_provider'
|
22
|
-
require_relative 'aws-sdk-bedrockagent/endpoints'
|
23
|
-
require_relative 'aws-sdk-bedrockagent/customizations'
|
24
|
-
|
25
14
|
# This module provides support for Agents for Amazon Bedrock. This module is available in the
|
26
15
|
# `aws-sdk-bedrockagent` gem.
|
27
16
|
#
|
@@ -51,7 +40,20 @@ require_relative 'aws-sdk-bedrockagent/customizations'
|
|
51
40
|
#
|
52
41
|
# @!group service
|
53
42
|
module Aws::BedrockAgent
|
43
|
+
autoload :Types, 'aws-sdk-bedrockagent/types'
|
44
|
+
autoload :ClientApi, 'aws-sdk-bedrockagent/client_api'
|
45
|
+
module Plugins
|
46
|
+
autoload :Endpoints, 'aws-sdk-bedrockagent/plugins/endpoints.rb'
|
47
|
+
end
|
48
|
+
autoload :Client, 'aws-sdk-bedrockagent/client'
|
49
|
+
autoload :Errors, 'aws-sdk-bedrockagent/errors'
|
50
|
+
autoload :Resource, 'aws-sdk-bedrockagent/resource'
|
51
|
+
autoload :EndpointParameters, 'aws-sdk-bedrockagent/endpoint_parameters'
|
52
|
+
autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
|
53
|
+
autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.26.0'
|
56
56
|
|
57
57
|
end
|
58
|
+
|
59
|
+
require_relative 'aws-sdk-bedrockagent/customizations'
|
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.26.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-09-
|
11
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|