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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12e05c1f3688bcbfb8821c217604125a41a6d40f9b64ba1ee98ae57f8b5e2c94
4
- data.tar.gz: '085ea961bf54a7ac0fd00c690f71a74176dcd830b4923da1dab34a417d01ac2f'
3
+ metadata.gz: 16c36396758dc6f6ea3283366236852eded24e4f3cd9306c996a2841a48f06e2
4
+ data.tar.gz: f2a25128523d2222c20399a9d204c3bf044191e71a2342df4a09b4adf2706384
5
5
  SHA512:
6
- metadata.gz: 3291fb3f9ea269fd83e4ac7a58cf8cd3371f6c5858492fa00683a0b0a5863e1d16fe2bb1fb35e4e4099d8aeb6d57e091b887ecc5f223375d863f83581e84f9b2
7
- data.tar.gz: f3f743ac8c22c09f1b13b6860c87482bd3d8081985bf5d44b793aa412b9db72e845251f4a8499c94a79d26cddd23985cf089c8af91330b38fd7770b4c7a3b761
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.43.0
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.43.0'
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,
@@ -55,7 +55,7 @@ module Aws::BedrockAgentRuntime
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagentruntime/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-bedrockagentruntime/event_streams'
57
57
 
58
- GEM_VERSION = '1.43.0'
58
+ GEM_VERSION = '1.44.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -576,6 +576,8 @@ module Aws
576
576
  override_lambda: ::String?,
577
577
  prompt_configurations: Array[
578
578
  {
579
+ additional_model_request_fields: {
580
+ }?,
579
581
  base_prompt_template: ::String?,
580
582
  inference_configuration: {
581
583
  maximum_length: ::Integer?,
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.43.0
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-06 00:00:00.000000000 Z
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