aws-sdk-bedrockagentruntime 1.43.0 → 1.44.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-bedrockagentruntime/client.rb +3 -1
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +1 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +11 -0
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +2 -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: 16c36396758dc6f6ea3283366236852eded24e4f3cd9306c996a2841a48f06e2
|
4
|
+
data.tar.gz: f2a25128523d2222c20399a9d204c3bf044191e71a2342df4a09b4adf2706384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bac7eaae021af8b26e99b3dae62f2a58dd23a65cfb908602d371cfa3bfe9777e8ee2360ec0074332102306a8019297e61f9087af8fbd0e4f404982206983f4a
|
7
|
+
data.tar.gz: f937d922f34f764c8e06d251ee13c1a1993a487551d7ecedc22800020519651d5a48daeb649bcf7a75b528a9e536e0ba5e3e139e4da8ecaa6e55b217446b398e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2025-02-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This releases adds the additionalModelRequestFields field to the InvokeInlineAgent operation. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters.
|
8
|
+
|
4
9
|
1.43.0 (2025-02-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -2523,6 +2523,8 @@ module Aws::BedrockAgentRuntime
|
|
2523
2523
|
# override_lambda: "LambdaResourceArn",
|
2524
2524
|
# prompt_configurations: [ # required
|
2525
2525
|
# {
|
2526
|
+
# additional_model_request_fields: {
|
2527
|
+
# },
|
2526
2528
|
# base_prompt_template: "BasePromptTemplate",
|
2527
2529
|
# inference_configuration: {
|
2528
2530
|
# maximum_length: 1,
|
@@ -4385,7 +4387,7 @@ module Aws::BedrockAgentRuntime
|
|
4385
4387
|
tracer: tracer
|
4386
4388
|
)
|
4387
4389
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
4388
|
-
context[:gem_version] = '1.
|
4390
|
+
context[:gem_version] = '1.44.0'
|
4389
4391
|
Seahorse::Client::Request.new(handlers, context)
|
4390
4392
|
end
|
4391
4393
|
|
@@ -1327,6 +1327,7 @@ module Aws::BedrockAgentRuntime
|
|
1327
1327
|
PreProcessingTrace.add_member_subclass(:unknown, Types::PreProcessingTrace::Unknown)
|
1328
1328
|
PreProcessingTrace.struct_class = Types::PreProcessingTrace
|
1329
1329
|
|
1330
|
+
PromptConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
|
1330
1331
|
PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
|
1331
1332
|
PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
|
1332
1333
|
PromptConfiguration.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
|
@@ -4287,6 +4287,16 @@ module Aws::BedrockAgentRuntime
|
|
4287
4287
|
#
|
4288
4288
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html
|
4289
4289
|
#
|
4290
|
+
# @!attribute [rw] additional_model_request_fields
|
4291
|
+
# If the Converse or ConverseStream operations support the model,
|
4292
|
+
# `additionalModelRequestFields` contains additional inference
|
4293
|
+
# parameters, beyond the base set of inference parameters in the
|
4294
|
+
# `inferenceConfiguration` field.
|
4295
|
+
#
|
4296
|
+
# For more information, see *Inference request parameters and response
|
4297
|
+
# fields for foundation models* in the Amazon Bedrock user guide.
|
4298
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
4299
|
+
#
|
4290
4300
|
# @!attribute [rw] base_prompt_template
|
4291
4301
|
# Defines the prompt template with which to replace the default prompt
|
4292
4302
|
# template. You can use placeholder variables in the base prompt
|
@@ -4354,6 +4364,7 @@ module Aws::BedrockAgentRuntime
|
|
4354
4364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/PromptConfiguration AWS API Documentation
|
4355
4365
|
#
|
4356
4366
|
class PromptConfiguration < Struct.new(
|
4367
|
+
:additional_model_request_fields,
|
4357
4368
|
:base_prompt_template,
|
4358
4369
|
:inference_configuration,
|
4359
4370
|
:parser_mode,
|
data/sig/client.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -1155,6 +1155,7 @@ module Aws::BedrockAgentRuntime
|
|
1155
1155
|
end
|
1156
1156
|
|
1157
1157
|
class PromptConfiguration
|
1158
|
+
attr_accessor additional_model_request_fields: untyped
|
1158
1159
|
attr_accessor base_prompt_template: ::String
|
1159
1160
|
attr_accessor inference_configuration: Types::InferenceConfiguration
|
1160
1161
|
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagentruntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.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
|