aws-sdk-bedrockagentruntime 1.43.0 → 1.45.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +32 -30
- 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: '069874fff50da61b98f9518f4a9c524ff83a1c19e37d1f3fad8c84c59e3fc7b1'
|
4
|
+
data.tar.gz: 572c6b64a18934fa5676acc5d6aab8da56370f299d699d7956124981ef92036b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290809417c37d23c062cc0bf2681261f3d2a92a99489f5c9beb8767008c6c68fdc830f4a1161cb4a2932e99a27cf6e96c1e9613968efae38bcca8bb86be363c7
|
7
|
+
data.tar.gz: f74e44c4f8991074a40702c4b2838fc978402d20d0f5effa384447fcc0d27f70d22c8f6bea2f6204a068da63cf8a814763a582cd01b0cff2054ce14faf6ab4a0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2025-02-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.44.0 (2025-02-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.43.0 (2025-02-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -7,35 +7,35 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
-
require 'seahorse/client/plugins/content_length
|
11
|
-
require 'aws-sdk-core/plugins/credentials_configuration
|
12
|
-
require 'aws-sdk-core/plugins/logging
|
13
|
-
require 'aws-sdk-core/plugins/param_converter
|
14
|
-
require 'aws-sdk-core/plugins/param_validator
|
15
|
-
require 'aws-sdk-core/plugins/user_agent
|
16
|
-
require 'aws-sdk-core/plugins/helpful_socket_errors
|
17
|
-
require 'aws-sdk-core/plugins/retry_errors
|
18
|
-
require 'aws-sdk-core/plugins/global_configuration
|
19
|
-
require 'aws-sdk-core/plugins/regional_endpoint
|
20
|
-
require 'aws-sdk-core/plugins/endpoint_discovery
|
21
|
-
require 'aws-sdk-core/plugins/endpoint_pattern
|
22
|
-
require 'aws-sdk-core/plugins/response_paging
|
23
|
-
require 'aws-sdk-core/plugins/stub_responses
|
24
|
-
require 'aws-sdk-core/plugins/idempotency_token
|
25
|
-
require 'aws-sdk-core/plugins/invocation_id
|
26
|
-
require 'aws-sdk-core/plugins/jsonvalue_converter
|
27
|
-
require 'aws-sdk-core/plugins/client_metrics_plugin
|
28
|
-
require 'aws-sdk-core/plugins/client_metrics_send_plugin
|
29
|
-
require 'aws-sdk-core/plugins/transfer_encoding
|
30
|
-
require 'aws-sdk-core/plugins/http_checksum
|
31
|
-
require 'aws-sdk-core/plugins/checksum_algorithm
|
32
|
-
require 'aws-sdk-core/plugins/request_compression
|
33
|
-
require 'aws-sdk-core/plugins/defaults_mode
|
34
|
-
require 'aws-sdk-core/plugins/recursion_detection
|
35
|
-
require 'aws-sdk-core/plugins/telemetry
|
36
|
-
require 'aws-sdk-core/plugins/sign
|
37
|
-
require 'aws-sdk-core/plugins/protocols/rest_json
|
38
|
-
require 'aws-sdk-core/plugins/event_stream_configuration
|
10
|
+
require 'seahorse/client/plugins/content_length'
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
38
|
+
require 'aws-sdk-core/plugins/event_stream_configuration'
|
39
39
|
|
40
40
|
module Aws::BedrockAgentRuntime
|
41
41
|
# An API client for BedrockAgentRuntime. To construct a client, you need to configure a `:region` and `:credentials`.
|
@@ -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.45.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.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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|