aws-sdk-bedrockagentcorecontrol 1.60.0 → 1.61.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-bedrockagentcorecontrol/client.rb +24 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +18 -0
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +64 -0
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/params.rbs +12 -1
- data/sig/types.rbs +17 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf0e801cfbd24fc812132dcde56d422d8c7cc141fd77415edb2a7d02c254321b
|
|
4
|
+
data.tar.gz: bd183a30ede744852809647ee0f488cc135b516420bcbe3882d4edeb929173c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47eda6da6803ae97ef2adf41dae06b9130ae2aa74a21147e6f9b31a26c1ccb0a685d07174bbf843071f3ab4ce8edb082103cb39cbf57e96d31cb752f3a89351e
|
|
7
|
+
data.tar.gz: af058dc800eda272fddae849c987d1ab0dda6e776dc8d7be07226dd34f862d4a6f209f79444bbaad24088026b1a214832cd6dd4ade37528c4405b28bf09ce467
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.61.0 (2026-07-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for configuring models through the OpenResponses API for custom evaluators. CreateEvaluator and UpdateEvaluator now accept an OpenResponses model configuration for LLM-as-a-Judge evaluations.
|
|
8
|
+
|
|
4
9
|
1.60.0 (2026-07-28)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.61.0
|
|
@@ -1535,6 +1535,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
1535
1535
|
# additional_model_request_fields: {
|
|
1536
1536
|
# },
|
|
1537
1537
|
# },
|
|
1538
|
+
# responses_evaluator_model_config: {
|
|
1539
|
+
# model_id: "ModelId", # required
|
|
1540
|
+
# max_output_tokens: 1,
|
|
1541
|
+
# temperature: 1.0,
|
|
1542
|
+
# top_p: 1.0,
|
|
1543
|
+
# reasoning: {
|
|
1544
|
+
# effort: "ReasoningConfigurationEffortString",
|
|
1545
|
+
# },
|
|
1546
|
+
# },
|
|
1538
1547
|
# },
|
|
1539
1548
|
# },
|
|
1540
1549
|
# code_based: {
|
|
@@ -6784,6 +6793,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
6784
6793
|
# resp.evaluator_config.llm_as_a_judge.model_config.bedrock_evaluator_model_config.inference_config.top_p #=> Float
|
|
6785
6794
|
# resp.evaluator_config.llm_as_a_judge.model_config.bedrock_evaluator_model_config.inference_config.stop_sequences #=> Array
|
|
6786
6795
|
# resp.evaluator_config.llm_as_a_judge.model_config.bedrock_evaluator_model_config.inference_config.stop_sequences[0] #=> String
|
|
6796
|
+
# resp.evaluator_config.llm_as_a_judge.model_config.responses_evaluator_model_config.model_id #=> String
|
|
6797
|
+
# resp.evaluator_config.llm_as_a_judge.model_config.responses_evaluator_model_config.max_output_tokens #=> Integer
|
|
6798
|
+
# resp.evaluator_config.llm_as_a_judge.model_config.responses_evaluator_model_config.temperature #=> Float
|
|
6799
|
+
# resp.evaluator_config.llm_as_a_judge.model_config.responses_evaluator_model_config.top_p #=> Float
|
|
6800
|
+
# resp.evaluator_config.llm_as_a_judge.model_config.responses_evaluator_model_config.reasoning.effort #=> String
|
|
6787
6801
|
# resp.evaluator_config.code_based.lambda_config.lambda_arn #=> String
|
|
6788
6802
|
# resp.evaluator_config.code_based.lambda_config.lambda_timeout_in_seconds #=> Integer
|
|
6789
6803
|
# resp.level #=> String, one of "TOOL_CALL", "TRACE", "SESSION"
|
|
@@ -11582,6 +11596,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
11582
11596
|
# additional_model_request_fields: {
|
|
11583
11597
|
# },
|
|
11584
11598
|
# },
|
|
11599
|
+
# responses_evaluator_model_config: {
|
|
11600
|
+
# model_id: "ModelId", # required
|
|
11601
|
+
# max_output_tokens: 1,
|
|
11602
|
+
# temperature: 1.0,
|
|
11603
|
+
# top_p: 1.0,
|
|
11604
|
+
# reasoning: {
|
|
11605
|
+
# effort: "ReasoningConfigurationEffortString",
|
|
11606
|
+
# },
|
|
11607
|
+
# },
|
|
11585
11608
|
# },
|
|
11586
11609
|
# },
|
|
11587
11610
|
# code_based: {
|
|
@@ -15125,7 +15148,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
15125
15148
|
tracer: tracer
|
|
15126
15149
|
)
|
|
15127
15150
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
15128
|
-
context[:gem_version] = '1.
|
|
15151
|
+
context[:gem_version] = '1.61.0'
|
|
15129
15152
|
Seahorse::Client::Request.new(handlers, context)
|
|
15130
15153
|
end
|
|
15131
15154
|
|
|
@@ -851,6 +851,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
851
851
|
OnlineEvaluationConfigSummary = Shapes::StructureShape.new(name: 'OnlineEvaluationConfigSummary')
|
|
852
852
|
OnlineEvaluationConfigSummaryList = Shapes::ListShape.new(name: 'OnlineEvaluationConfigSummaryList')
|
|
853
853
|
OnlineEvaluationExecutionStatus = Shapes::StringShape.new(name: 'OnlineEvaluationExecutionStatus')
|
|
854
|
+
OpenResponsesEvaluatorModelConfig = Shapes::StructureShape.new(name: 'OpenResponsesEvaluatorModelConfig')
|
|
855
|
+
OpenResponsesEvaluatorModelConfigMaxOutputTokensInteger = Shapes::IntegerShape.new(name: 'OpenResponsesEvaluatorModelConfigMaxOutputTokensInteger')
|
|
856
|
+
OpenResponsesEvaluatorModelConfigTemperatureFloat = Shapes::FloatShape.new(name: 'OpenResponsesEvaluatorModelConfigTemperatureFloat')
|
|
857
|
+
OpenResponsesEvaluatorModelConfigTopPFloat = Shapes::FloatShape.new(name: 'OpenResponsesEvaluatorModelConfigTopPFloat')
|
|
854
858
|
OutputConfig = Shapes::StructureShape.new(name: 'OutputConfig')
|
|
855
859
|
OverrideType = Shapes::StringShape.new(name: 'OverrideType')
|
|
856
860
|
PassthroughEndpoint = Shapes::StringShape.new(name: 'PassthroughEndpoint')
|
|
@@ -921,6 +925,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
921
925
|
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
|
922
926
|
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
|
923
927
|
RatingScale = Shapes::UnionShape.new(name: 'RatingScale')
|
|
928
|
+
ReasoningConfiguration = Shapes::StructureShape.new(name: 'ReasoningConfiguration')
|
|
929
|
+
ReasoningConfigurationEffortString = Shapes::StringShape.new(name: 'ReasoningConfigurationEffortString')
|
|
924
930
|
RecordIdentifier = Shapes::StringShape.new(name: 'RecordIdentifier')
|
|
925
931
|
RecordingConfig = Shapes::StructureShape.new(name: 'RecordingConfig')
|
|
926
932
|
ReflectionConfiguration = Shapes::UnionShape.new(name: 'ReflectionConfiguration')
|
|
@@ -2629,8 +2635,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
2629
2635
|
EvaluatorList.member = Shapes::ShapeRef.new(shape: EvaluatorReference)
|
|
2630
2636
|
|
|
2631
2637
|
EvaluatorModelConfig.add_member(:bedrock_evaluator_model_config, Shapes::ShapeRef.new(shape: BedrockEvaluatorModelConfig, location_name: "bedrockEvaluatorModelConfig"))
|
|
2638
|
+
EvaluatorModelConfig.add_member(:responses_evaluator_model_config, Shapes::ShapeRef.new(shape: OpenResponsesEvaluatorModelConfig, location_name: "responsesEvaluatorModelConfig"))
|
|
2632
2639
|
EvaluatorModelConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2633
2640
|
EvaluatorModelConfig.add_member_subclass(:bedrock_evaluator_model_config, Types::EvaluatorModelConfig::BedrockEvaluatorModelConfig)
|
|
2641
|
+
EvaluatorModelConfig.add_member_subclass(:responses_evaluator_model_config, Types::EvaluatorModelConfig::ResponsesEvaluatorModelConfig)
|
|
2634
2642
|
EvaluatorModelConfig.add_member_subclass(:unknown, Types::EvaluatorModelConfig::Unknown)
|
|
2635
2643
|
EvaluatorModelConfig.struct_class = Types::EvaluatorModelConfig
|
|
2636
2644
|
|
|
@@ -4405,6 +4413,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
4405
4413
|
|
|
4406
4414
|
OnlineEvaluationConfigSummaryList.member = Shapes::ShapeRef.new(shape: OnlineEvaluationConfigSummary)
|
|
4407
4415
|
|
|
4416
|
+
OpenResponsesEvaluatorModelConfig.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
|
4417
|
+
OpenResponsesEvaluatorModelConfig.add_member(:max_output_tokens, Shapes::ShapeRef.new(shape: OpenResponsesEvaluatorModelConfigMaxOutputTokensInteger, location_name: "maxOutputTokens"))
|
|
4418
|
+
OpenResponsesEvaluatorModelConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: OpenResponsesEvaluatorModelConfigTemperatureFloat, location_name: "temperature"))
|
|
4419
|
+
OpenResponsesEvaluatorModelConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: OpenResponsesEvaluatorModelConfigTopPFloat, location_name: "topP"))
|
|
4420
|
+
OpenResponsesEvaluatorModelConfig.add_member(:reasoning, Shapes::ShapeRef.new(shape: ReasoningConfiguration, location_name: "reasoning"))
|
|
4421
|
+
OpenResponsesEvaluatorModelConfig.struct_class = Types::OpenResponsesEvaluatorModelConfig
|
|
4422
|
+
|
|
4408
4423
|
OutputConfig.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, required: true, location_name: "cloudWatchConfig"))
|
|
4409
4424
|
OutputConfig.struct_class = Types::OutputConfig
|
|
4410
4425
|
|
|
@@ -4619,6 +4634,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
4619
4634
|
RatingScale.add_member_subclass(:unknown, Types::RatingScale::Unknown)
|
|
4620
4635
|
RatingScale.struct_class = Types::RatingScale
|
|
4621
4636
|
|
|
4637
|
+
ReasoningConfiguration.add_member(:effort, Shapes::ShapeRef.new(shape: ReasoningConfigurationEffortString, location_name: "effort"))
|
|
4638
|
+
ReasoningConfiguration.struct_class = Types::ReasoningConfiguration
|
|
4639
|
+
|
|
4622
4640
|
RecordingConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
|
4623
4641
|
RecordingConfig.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
|
|
4624
4642
|
RecordingConfig.struct_class = Types::RecordingConfig
|
|
@@ -6698,16 +6698,22 @@ module Aws::BedrockAgentCoreControl
|
|
|
6698
6698
|
# The Amazon Bedrock model configuration for evaluation.
|
|
6699
6699
|
# @return [Types::BedrockEvaluatorModelConfig]
|
|
6700
6700
|
#
|
|
6701
|
+
# @!attribute [rw] responses_evaluator_model_config
|
|
6702
|
+
# The OpenResponses model configuration for evaluation.
|
|
6703
|
+
# @return [Types::OpenResponsesEvaluatorModelConfig]
|
|
6704
|
+
#
|
|
6701
6705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/EvaluatorModelConfig AWS API Documentation
|
|
6702
6706
|
#
|
|
6703
6707
|
class EvaluatorModelConfig < Struct.new(
|
|
6704
6708
|
:bedrock_evaluator_model_config,
|
|
6709
|
+
:responses_evaluator_model_config,
|
|
6705
6710
|
:unknown)
|
|
6706
6711
|
SENSITIVE = []
|
|
6707
6712
|
include Aws::Structure
|
|
6708
6713
|
include Aws::Structure::Union
|
|
6709
6714
|
|
|
6710
6715
|
class BedrockEvaluatorModelConfig < EvaluatorModelConfig; end
|
|
6716
|
+
class ResponsesEvaluatorModelConfig < EvaluatorModelConfig; end
|
|
6711
6717
|
class Unknown < EvaluatorModelConfig; end
|
|
6712
6718
|
end
|
|
6713
6719
|
|
|
@@ -14923,6 +14929,47 @@ module Aws::BedrockAgentCoreControl
|
|
|
14923
14929
|
include Aws::Structure
|
|
14924
14930
|
end
|
|
14925
14931
|
|
|
14932
|
+
# The configuration for using models served through the OpenResponses
|
|
14933
|
+
# API in evaluator assessments, including model selection and inference
|
|
14934
|
+
# parameters.
|
|
14935
|
+
#
|
|
14936
|
+
# @!attribute [rw] model_id
|
|
14937
|
+
# The identifier of the model to use for evaluation.
|
|
14938
|
+
# @return [String]
|
|
14939
|
+
#
|
|
14940
|
+
# @!attribute [rw] max_output_tokens
|
|
14941
|
+
# The maximum number of tokens to generate in the model response,
|
|
14942
|
+
# including visible output and reasoning tokens.
|
|
14943
|
+
# @return [Integer]
|
|
14944
|
+
#
|
|
14945
|
+
# @!attribute [rw] temperature
|
|
14946
|
+
# The temperature value that controls randomness in the model's
|
|
14947
|
+
# responses. Lower values produce more deterministic outputs.
|
|
14948
|
+
# @return [Float]
|
|
14949
|
+
#
|
|
14950
|
+
# @!attribute [rw] top_p
|
|
14951
|
+
# The top-p sampling parameter that controls the diversity of the
|
|
14952
|
+
# model's responses by limiting the cumulative probability of token
|
|
14953
|
+
# choices.
|
|
14954
|
+
# @return [Float]
|
|
14955
|
+
#
|
|
14956
|
+
# @!attribute [rw] reasoning
|
|
14957
|
+
# The reasoning configuration for reasoning models. Non-reasoning
|
|
14958
|
+
# models ignore this configuration.
|
|
14959
|
+
# @return [Types::ReasoningConfiguration]
|
|
14960
|
+
#
|
|
14961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/OpenResponsesEvaluatorModelConfig AWS API Documentation
|
|
14962
|
+
#
|
|
14963
|
+
class OpenResponsesEvaluatorModelConfig < Struct.new(
|
|
14964
|
+
:model_id,
|
|
14965
|
+
:max_output_tokens,
|
|
14966
|
+
:temperature,
|
|
14967
|
+
:top_p,
|
|
14968
|
+
:reasoning)
|
|
14969
|
+
SENSITIVE = []
|
|
14970
|
+
include Aws::Structure
|
|
14971
|
+
end
|
|
14972
|
+
|
|
14926
14973
|
# The configuration that specifies where evaluation results should be
|
|
14927
14974
|
# written for monitoring and analysis.
|
|
14928
14975
|
#
|
|
@@ -15956,6 +16003,23 @@ module Aws::BedrockAgentCoreControl
|
|
|
15956
16003
|
class Unknown < RatingScale; end
|
|
15957
16004
|
end
|
|
15958
16005
|
|
|
16006
|
+
# The reasoning configuration that controls how a reasoning model
|
|
16007
|
+
# allocates effort during evaluation.
|
|
16008
|
+
#
|
|
16009
|
+
# @!attribute [rw] effort
|
|
16010
|
+
# The level of reasoning effort the model applies when generating a
|
|
16011
|
+
# response. For supported values, see the model provider's
|
|
16012
|
+
# documentation.
|
|
16013
|
+
# @return [String]
|
|
16014
|
+
#
|
|
16015
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ReasoningConfiguration AWS API Documentation
|
|
16016
|
+
#
|
|
16017
|
+
class ReasoningConfiguration < Struct.new(
|
|
16018
|
+
:effort)
|
|
16019
|
+
SENSITIVE = []
|
|
16020
|
+
include Aws::Structure
|
|
16021
|
+
end
|
|
16022
|
+
|
|
15959
16023
|
# The recording configuration for a browser. This structure defines how
|
|
15960
16024
|
# browser sessions are recorded.
|
|
15961
16025
|
#
|
data/sig/params.rbs
CHANGED
|
@@ -163,8 +163,19 @@ module Aws
|
|
|
163
163
|
}?
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
type open_responses_evaluator_model_config = {
|
|
167
|
+
model_id: ::String,
|
|
168
|
+
max_output_tokens: ::Integer?,
|
|
169
|
+
temperature: ::Float?,
|
|
170
|
+
top_p: ::Float?,
|
|
171
|
+
reasoning: {
|
|
172
|
+
effort: ::String?
|
|
173
|
+
}?
|
|
174
|
+
}
|
|
175
|
+
|
|
166
176
|
type evaluator_model_config = {
|
|
167
|
-
bedrock_evaluator_model_config: Params::bedrock_evaluator_model_config
|
|
177
|
+
bedrock_evaluator_model_config: Params::bedrock_evaluator_model_config?,
|
|
178
|
+
responses_evaluator_model_config: Params::open_responses_evaluator_model_config?
|
|
168
179
|
}
|
|
169
180
|
|
|
170
181
|
type llm_as_a_judge_evaluator_config = {
|
data/sig/types.rbs
CHANGED
|
@@ -1801,11 +1801,14 @@ module Aws::BedrockAgentCoreControl
|
|
|
1801
1801
|
|
|
1802
1802
|
class EvaluatorModelConfig
|
|
1803
1803
|
attr_accessor bedrock_evaluator_model_config: Types::BedrockEvaluatorModelConfig
|
|
1804
|
+
attr_accessor responses_evaluator_model_config: Types::OpenResponsesEvaluatorModelConfig
|
|
1804
1805
|
attr_accessor unknown: untyped
|
|
1805
1806
|
SENSITIVE: []
|
|
1806
1807
|
|
|
1807
1808
|
class BedrockEvaluatorModelConfig < EvaluatorModelConfig
|
|
1808
1809
|
end
|
|
1810
|
+
class ResponsesEvaluatorModelConfig < EvaluatorModelConfig
|
|
1811
|
+
end
|
|
1809
1812
|
class Unknown < EvaluatorModelConfig
|
|
1810
1813
|
end
|
|
1811
1814
|
end
|
|
@@ -4166,6 +4169,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
4166
4169
|
SENSITIVE: [:description]
|
|
4167
4170
|
end
|
|
4168
4171
|
|
|
4172
|
+
class OpenResponsesEvaluatorModelConfig
|
|
4173
|
+
attr_accessor model_id: ::String
|
|
4174
|
+
attr_accessor max_output_tokens: ::Integer
|
|
4175
|
+
attr_accessor temperature: ::Float
|
|
4176
|
+
attr_accessor top_p: ::Float
|
|
4177
|
+
attr_accessor reasoning: Types::ReasoningConfiguration
|
|
4178
|
+
SENSITIVE: []
|
|
4179
|
+
end
|
|
4180
|
+
|
|
4169
4181
|
class OutputConfig
|
|
4170
4182
|
attr_accessor cloud_watch_config: Types::CloudWatchOutputConfig
|
|
4171
4183
|
SENSITIVE: []
|
|
@@ -4432,6 +4444,11 @@ module Aws::BedrockAgentCoreControl
|
|
|
4432
4444
|
end
|
|
4433
4445
|
end
|
|
4434
4446
|
|
|
4447
|
+
class ReasoningConfiguration
|
|
4448
|
+
attr_accessor effort: ::String
|
|
4449
|
+
SENSITIVE: []
|
|
4450
|
+
end
|
|
4451
|
+
|
|
4435
4452
|
class RecordingConfig
|
|
4436
4453
|
attr_accessor enabled: bool
|
|
4437
4454
|
attr_accessor s3_location: Types::S3Location
|