aws-sdk-bedrockagent 1.44.0 → 1.45.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 +16 -12
- data/lib/aws-sdk-bedrockagent/client_api.rb +1 -0
- data/lib/aws-sdk-bedrockagent/types.rb +11 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +4 -0
- 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: a5ba5f9eeeeb03eebe2f9d07b5dd6583b7f4193a125f137fa8bb6d9441410a73
|
4
|
+
data.tar.gz: 8ff84745a2b5c8bc004d41cfceab3df471559c2914f79f2b106c59e3e2292d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3d5be609ec5e24c7df4fca49d0f2abdf2c29107f7262f8bd8c801685928189aca452b4844aa1d97832918a76c8043735a2afc6e4c82a22a7fd6ea6a7a5afc44
|
7
|
+
data.tar.gz: 4f7165f7255f41efe050d2142805a1b07e0afc98a563c05a527274722db3611a6f2e80273ef5a9d1873e5a7ab91cdfeaec3c7ba67518d5c8a02ce19b110193ec
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2025-02-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This releases adds the additionalModelRequestFields field to the CreateAgent and UpdateAgent operations. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters.
|
8
|
+
|
4
9
|
1.44.0 (2025-02-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -777,6 +777,8 @@ module Aws::BedrockAgent
|
|
777
777
|
# override_lambda: "LambdaArn",
|
778
778
|
# prompt_configurations: [ # required
|
779
779
|
# {
|
780
|
+
# additional_model_request_fields: {
|
781
|
+
# },
|
780
782
|
# base_prompt_template: "BasePromptTemplate",
|
781
783
|
# foundation_model: "ModelIdentifier",
|
782
784
|
# inference_configuration: {
|
@@ -2986,12 +2988,12 @@ module Aws::BedrockAgent
|
|
2986
2988
|
|
2987
2989
|
# Deletes documents from a data source and syncs the changes to the
|
2988
2990
|
# knowledge base that is connected to it. For more information, see
|
2989
|
-
# [Ingest
|
2991
|
+
# [Ingest changes directly into a knowledge base][1] in the Amazon
|
2990
2992
|
# Bedrock User Guide.
|
2991
2993
|
#
|
2992
2994
|
#
|
2993
2995
|
#
|
2994
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-
|
2996
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-direct-ingestion.html
|
2995
2997
|
#
|
2996
2998
|
# @option params [String] :client_token
|
2997
2999
|
# A unique, case-sensitive identifier to ensure that the API request
|
@@ -4101,12 +4103,12 @@ module Aws::BedrockAgent
|
|
4101
4103
|
end
|
4102
4104
|
|
4103
4105
|
# Retrieves specific documents from a data source that is connected to a
|
4104
|
-
# knowledge base. For more information, see [Ingest
|
4105
|
-
# knowledge base
|
4106
|
+
# knowledge base. For more information, see [Ingest changes directly
|
4107
|
+
# into a knowledge base][1] in the Amazon Bedrock User Guide.
|
4106
4108
|
#
|
4107
4109
|
#
|
4108
4110
|
#
|
4109
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-
|
4111
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-direct-ingestion.html
|
4110
4112
|
#
|
4111
4113
|
# @option params [required, String] :data_source_id
|
4112
4114
|
# The unique identifier of the data source that contains the documents.
|
@@ -4258,12 +4260,12 @@ module Aws::BedrockAgent
|
|
4258
4260
|
# Ingests documents directly into the knowledge base that is connected
|
4259
4261
|
# to the data source. The `dataSourceType` specified in the content for
|
4260
4262
|
# each document must match the type of the data source that you specify
|
4261
|
-
# in the header. For more information, see [Ingest
|
4262
|
-
# knowledge base
|
4263
|
+
# in the header. For more information, see [Ingest changes directly into
|
4264
|
+
# a knowledge base][1] in the Amazon Bedrock User Guide.
|
4263
4265
|
#
|
4264
4266
|
#
|
4265
4267
|
#
|
4266
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-
|
4268
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-direct-ingestion.html
|
4267
4269
|
#
|
4268
4270
|
# @option params [String] :client_token
|
4269
4271
|
# A unique, case-sensitive identifier to ensure that the API request
|
@@ -5010,12 +5012,12 @@ module Aws::BedrockAgent
|
|
5010
5012
|
|
5011
5013
|
# Retrieves all the documents contained in a data source that is
|
5012
5014
|
# connected to a knowledge base. For more information, see [Ingest
|
5013
|
-
#
|
5014
|
-
#
|
5015
|
+
# changes directly into a knowledge base][1] in the Amazon Bedrock User
|
5016
|
+
# Guide.
|
5015
5017
|
#
|
5016
5018
|
#
|
5017
5019
|
#
|
5018
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-
|
5020
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-direct-ingestion.html
|
5019
5021
|
#
|
5020
5022
|
# @option params [required, String] :data_source_id
|
5021
5023
|
# The unique identifier of the data source that contains the documents.
|
@@ -5602,6 +5604,8 @@ module Aws::BedrockAgent
|
|
5602
5604
|
# override_lambda: "LambdaArn",
|
5603
5605
|
# prompt_configurations: [ # required
|
5604
5606
|
# {
|
5607
|
+
# additional_model_request_fields: {
|
5608
|
+
# },
|
5605
5609
|
# base_prompt_template: "BasePromptTemplate",
|
5606
5610
|
# foundation_model: "ModelIdentifier",
|
5607
5611
|
# inference_configuration: {
|
@@ -7439,7 +7443,7 @@ module Aws::BedrockAgent
|
|
7439
7443
|
tracer: tracer
|
7440
7444
|
)
|
7441
7445
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
7442
|
-
context[:gem_version] = '1.
|
7446
|
+
context[:gem_version] = '1.45.0'
|
7443
7447
|
Seahorse::Client::Request.new(handlers, context)
|
7444
7448
|
end
|
7445
7449
|
|
@@ -2081,6 +2081,7 @@ module Aws::BedrockAgent
|
|
2081
2081
|
PromptAgentResource.add_member(:agent_identifier, Shapes::ShapeRef.new(shape: AgentAliasArn, required: true, location_name: "agentIdentifier"))
|
2082
2082
|
PromptAgentResource.struct_class = Types::PromptAgentResource
|
2083
2083
|
|
2084
|
+
PromptConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
|
2084
2085
|
PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
|
2085
2086
|
PromptConfiguration.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
|
2086
2087
|
PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
|
@@ -7509,6 +7509,16 @@ module Aws::BedrockAgent
|
|
7509
7509
|
#
|
7510
7510
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html
|
7511
7511
|
#
|
7512
|
+
# @!attribute [rw] additional_model_request_fields
|
7513
|
+
# If the Converse or ConverseStream operations support the model,
|
7514
|
+
# `additionalModelRequestFields` contains additional inference
|
7515
|
+
# parameters, beyond the base set of inference parameters in the
|
7516
|
+
# `inferenceConfiguration` field.
|
7517
|
+
#
|
7518
|
+
# For more information, see *Inference request parameters and response
|
7519
|
+
# fields for foundation models* in the Amazon Bedrock user guide.
|
7520
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
7521
|
+
#
|
7512
7522
|
# @!attribute [rw] base_prompt_template
|
7513
7523
|
# Defines the prompt template with which to replace the default prompt
|
7514
7524
|
# template. You can use placeholder variables in the base prompt
|
@@ -7580,6 +7590,7 @@ module Aws::BedrockAgent
|
|
7580
7590
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PromptConfiguration AWS API Documentation
|
7581
7591
|
#
|
7582
7592
|
class PromptConfiguration < Struct.new(
|
7593
|
+
:additional_model_request_fields,
|
7583
7594
|
:base_prompt_template,
|
7584
7595
|
:foundation_model,
|
7585
7596
|
:inference_configuration,
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -145,6 +145,8 @@ module Aws
|
|
145
145
|
override_lambda: ::String?,
|
146
146
|
prompt_configurations: Array[
|
147
147
|
{
|
148
|
+
additional_model_request_fields: {
|
149
|
+
}?,
|
148
150
|
base_prompt_template: ::String?,
|
149
151
|
foundation_model: ::String?,
|
150
152
|
inference_configuration: {
|
@@ -1681,6 +1683,8 @@ module Aws
|
|
1681
1683
|
override_lambda: ::String?,
|
1682
1684
|
prompt_configurations: Array[
|
1683
1685
|
{
|
1686
|
+
additional_model_request_fields: {
|
1687
|
+
}?,
|
1684
1688
|
base_prompt_template: ::String?,
|
1685
1689
|
foundation_model: ::String?,
|
1686
1690
|
inference_configuration: {
|
data/sig/types.rbs
CHANGED
@@ -1908,6 +1908,7 @@ module Aws::BedrockAgent
|
|
1908
1908
|
end
|
1909
1909
|
|
1910
1910
|
class PromptConfiguration
|
1911
|
+
attr_accessor additional_model_request_fields: untyped
|
1911
1912
|
attr_accessor base_prompt_template: ::String
|
1912
1913
|
attr_accessor foundation_model: ::String
|
1913
1914
|
attr_accessor inference_configuration: Types::InferenceConfiguration
|
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.45.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: 2025-02-
|
11
|
+
date: 2025-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|