aws-sdk-bedrockagentruntime 1.47.0 → 1.49.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 +299 -3
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +62 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +298 -31
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +248 -5
- data/sig/types.rbs +49 -1
- 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: 8c93ab9ad99b2d3acd3b93e088183aa21aa86ba8ff909027df858039add174e4
|
4
|
+
data.tar.gz: e070ba38084eee44af0ad077864c455e3be39d19dae9b3f379cc226b0d18e1e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dae914ba0770051ecb613b5d150dd4ec9796d9ec63dbc5bbc2ff010bbde14496195b458db2245733fb78154e835706b7d46a118e9a0c38d810cb850e4b326af
|
7
|
+
data.tar.gz: 96cfd801de9882aef15c1bc5299eb878b7d0b7d5e72496c0cc7a04fc0c8199547c9241ce0e4f0e797dde126d8047a995339e464289452be566a7c0269ab87ceb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2025-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for computer use tools
|
8
|
+
|
9
|
+
1.48.0 (2025-03-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Support Multi Agent Collaboration within Inline Agents
|
13
|
+
|
4
14
|
1.47.0 (2025-02-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -577,7 +577,7 @@ module Aws::BedrockAgentRuntime
|
|
577
577
|
#
|
578
578
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html
|
579
579
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html
|
580
|
-
# [3]: https://docs.aws.amazon.com/bedrock/latest/API_agent-runtime_InvokeAgent.html
|
580
|
+
# [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html
|
581
581
|
# [4]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListSessions.html
|
582
582
|
# [5]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetSession.html
|
583
583
|
# [6]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html
|
@@ -1455,6 +1455,14 @@ module Aws::BedrockAgentRuntime
|
|
1455
1455
|
# response_body: {
|
1456
1456
|
# "String" => {
|
1457
1457
|
# body: "String",
|
1458
|
+
# images: [
|
1459
|
+
# {
|
1460
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
1461
|
+
# source: { # required
|
1462
|
+
# bytes: "data",
|
1463
|
+
# },
|
1464
|
+
# },
|
1465
|
+
# ],
|
1458
1466
|
# },
|
1459
1467
|
# },
|
1460
1468
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -1467,6 +1475,14 @@ module Aws::BedrockAgentRuntime
|
|
1467
1475
|
# response_body: {
|
1468
1476
|
# "String" => {
|
1469
1477
|
# body: "String",
|
1478
|
+
# images: [
|
1479
|
+
# {
|
1480
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
1481
|
+
# source: { # required
|
1482
|
+
# bytes: "data",
|
1483
|
+
# },
|
1484
|
+
# },
|
1485
|
+
# ],
|
1470
1486
|
# },
|
1471
1487
|
# },
|
1472
1488
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -1586,6 +1602,7 @@ module Aws::BedrockAgentRuntime
|
|
1586
1602
|
# event.caller_chain #=> Array
|
1587
1603
|
# event.caller_chain[0].agent_alias_arn #=> String
|
1588
1604
|
# event.collaborator_name #=> String
|
1605
|
+
# event.event_time #=> Time
|
1589
1606
|
# event.session_id #=> String
|
1590
1607
|
# event.trace.custom_orchestration_trace.event.text #=> String
|
1591
1608
|
# event.trace.custom_orchestration_trace.trace_id #=> String
|
@@ -1670,6 +1687,9 @@ module Aws::BedrockAgentRuntime
|
|
1670
1687
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
1671
1688
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
1672
1689
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
1690
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
1691
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1692
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
1673
1693
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1674
1694
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
1675
1695
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -1677,6 +1697,9 @@ module Aws::BedrockAgentRuntime
|
|
1677
1697
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
1678
1698
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
1679
1699
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
1700
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
1701
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1702
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
1680
1703
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1681
1704
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
1682
1705
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -1838,6 +1861,9 @@ module Aws::BedrockAgentRuntime
|
|
1838
1861
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
1839
1862
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
1840
1863
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
1864
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
1865
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1866
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
1841
1867
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1842
1868
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
1843
1869
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -1845,6 +1871,9 @@ module Aws::BedrockAgentRuntime
|
|
1845
1871
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
1846
1872
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
1847
1873
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
1874
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
1875
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
1876
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
1848
1877
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
1849
1878
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
1850
1879
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -2348,9 +2377,25 @@ module Aws::BedrockAgentRuntime
|
|
2348
2377
|
# A list of action groups with each action group defining the action the
|
2349
2378
|
# inline agent needs to carry out.
|
2350
2379
|
#
|
2380
|
+
# @option params [String] :agent_collaboration
|
2381
|
+
# Defines how the inline collaborator agent handles information across
|
2382
|
+
# multiple collaborator agents to coordinate a final response. The
|
2383
|
+
# inline collaborator agent can also be the supervisor.
|
2384
|
+
#
|
2351
2385
|
# @option params [Types::InlineBedrockModelConfigurations] :bedrock_model_configurations
|
2352
2386
|
# Model settings for the request.
|
2353
2387
|
#
|
2388
|
+
# @option params [Array<Types::CollaboratorConfiguration>] :collaborator_configurations
|
2389
|
+
# Settings for an inline agent collaborator called with
|
2390
|
+
# [InvokeInlineAgent][1].
|
2391
|
+
#
|
2392
|
+
#
|
2393
|
+
#
|
2394
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html
|
2395
|
+
#
|
2396
|
+
# @option params [Array<Types::Collaborator>] :collaborators
|
2397
|
+
# List of collaborator inline agents.
|
2398
|
+
#
|
2354
2399
|
# @option params [String] :customer_encryption_key_arn
|
2355
2400
|
# The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to
|
2356
2401
|
# use to encrypt your inline agent.
|
@@ -2668,14 +2713,224 @@ module Aws::BedrockAgentRuntime
|
|
2668
2713
|
# },
|
2669
2714
|
# ],
|
2670
2715
|
# },
|
2671
|
-
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
|
2716
|
+
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
|
2717
|
+
# parent_action_group_signature_params: {
|
2718
|
+
# "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
|
2719
|
+
# },
|
2672
2720
|
# },
|
2673
2721
|
# ],
|
2722
|
+
# agent_collaboration: "SUPERVISOR", # accepts SUPERVISOR, SUPERVISOR_ROUTER, DISABLED
|
2674
2723
|
# bedrock_model_configurations: {
|
2675
2724
|
# performance_config: {
|
2676
2725
|
# latency: "standard", # accepts standard, optimized
|
2677
2726
|
# },
|
2678
2727
|
# },
|
2728
|
+
# collaborator_configurations: [
|
2729
|
+
# {
|
2730
|
+
# agent_alias_arn: "AgentAliasArn",
|
2731
|
+
# collaborator_instruction: "CollaborationInstruction", # required
|
2732
|
+
# collaborator_name: "Name", # required
|
2733
|
+
# relay_conversation_history: "TO_COLLABORATOR", # accepts TO_COLLABORATOR, DISABLED
|
2734
|
+
# },
|
2735
|
+
# ],
|
2736
|
+
# collaborators: [
|
2737
|
+
# {
|
2738
|
+
# action_groups: [
|
2739
|
+
# {
|
2740
|
+
# action_group_executor: {
|
2741
|
+
# custom_control: "RETURN_CONTROL", # accepts RETURN_CONTROL
|
2742
|
+
# lambda: "LambdaResourceArn",
|
2743
|
+
# },
|
2744
|
+
# action_group_name: "ResourceName", # required
|
2745
|
+
# api_schema: {
|
2746
|
+
# payload: "Payload",
|
2747
|
+
# s3: {
|
2748
|
+
# s3_bucket_name: "S3BucketName",
|
2749
|
+
# s3_object_key: "S3ObjectKey",
|
2750
|
+
# },
|
2751
|
+
# },
|
2752
|
+
# description: "ResourceDescription",
|
2753
|
+
# function_schema: {
|
2754
|
+
# functions: [
|
2755
|
+
# {
|
2756
|
+
# description: "FunctionDescription",
|
2757
|
+
# name: "ResourceName", # required
|
2758
|
+
# parameters: {
|
2759
|
+
# "ParameterName" => {
|
2760
|
+
# description: "ParameterDescription",
|
2761
|
+
# required: false,
|
2762
|
+
# type: "string", # required, accepts string, number, integer, boolean, array
|
2763
|
+
# },
|
2764
|
+
# },
|
2765
|
+
# require_confirmation: "ENABLED", # accepts ENABLED, DISABLED
|
2766
|
+
# },
|
2767
|
+
# ],
|
2768
|
+
# },
|
2769
|
+
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
|
2770
|
+
# parent_action_group_signature_params: {
|
2771
|
+
# "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
|
2772
|
+
# },
|
2773
|
+
# },
|
2774
|
+
# ],
|
2775
|
+
# agent_collaboration: "SUPERVISOR", # accepts SUPERVISOR, SUPERVISOR_ROUTER, DISABLED
|
2776
|
+
# agent_name: "Name",
|
2777
|
+
# collaborator_configurations: [
|
2778
|
+
# {
|
2779
|
+
# agent_alias_arn: "AgentAliasArn",
|
2780
|
+
# collaborator_instruction: "CollaborationInstruction", # required
|
2781
|
+
# collaborator_name: "Name", # required
|
2782
|
+
# relay_conversation_history: "TO_COLLABORATOR", # accepts TO_COLLABORATOR, DISABLED
|
2783
|
+
# },
|
2784
|
+
# ],
|
2785
|
+
# customer_encryption_key_arn: "KmsKeyArn",
|
2786
|
+
# foundation_model: "ModelIdentifier", # required
|
2787
|
+
# guardrail_configuration: {
|
2788
|
+
# guardrail_identifier: "GuardrailIdentifierWithArn", # required
|
2789
|
+
# guardrail_version: "GuardrailVersion", # required
|
2790
|
+
# },
|
2791
|
+
# idle_session_ttl_in_seconds: 1,
|
2792
|
+
# instruction: "Instruction", # required
|
2793
|
+
# knowledge_bases: [
|
2794
|
+
# {
|
2795
|
+
# description: "ResourceDescription", # required
|
2796
|
+
# knowledge_base_id: "KnowledgeBaseId", # required
|
2797
|
+
# retrieval_configuration: {
|
2798
|
+
# vector_search_configuration: { # required
|
2799
|
+
# filter: {
|
2800
|
+
# and_all: [
|
2801
|
+
# {
|
2802
|
+
# # recursive RetrievalFilter
|
2803
|
+
# },
|
2804
|
+
# ],
|
2805
|
+
# equals: {
|
2806
|
+
# key: "FilterKey", # required
|
2807
|
+
# value: { # required
|
2808
|
+
# },
|
2809
|
+
# },
|
2810
|
+
# greater_than: {
|
2811
|
+
# key: "FilterKey", # required
|
2812
|
+
# value: { # required
|
2813
|
+
# },
|
2814
|
+
# },
|
2815
|
+
# greater_than_or_equals: {
|
2816
|
+
# key: "FilterKey", # required
|
2817
|
+
# value: { # required
|
2818
|
+
# },
|
2819
|
+
# },
|
2820
|
+
# in: {
|
2821
|
+
# key: "FilterKey", # required
|
2822
|
+
# value: { # required
|
2823
|
+
# },
|
2824
|
+
# },
|
2825
|
+
# less_than: {
|
2826
|
+
# key: "FilterKey", # required
|
2827
|
+
# value: { # required
|
2828
|
+
# },
|
2829
|
+
# },
|
2830
|
+
# less_than_or_equals: {
|
2831
|
+
# key: "FilterKey", # required
|
2832
|
+
# value: { # required
|
2833
|
+
# },
|
2834
|
+
# },
|
2835
|
+
# list_contains: {
|
2836
|
+
# key: "FilterKey", # required
|
2837
|
+
# value: { # required
|
2838
|
+
# },
|
2839
|
+
# },
|
2840
|
+
# not_equals: {
|
2841
|
+
# key: "FilterKey", # required
|
2842
|
+
# value: { # required
|
2843
|
+
# },
|
2844
|
+
# },
|
2845
|
+
# not_in: {
|
2846
|
+
# key: "FilterKey", # required
|
2847
|
+
# value: { # required
|
2848
|
+
# },
|
2849
|
+
# },
|
2850
|
+
# or_all: [
|
2851
|
+
# {
|
2852
|
+
# # recursive RetrievalFilter
|
2853
|
+
# },
|
2854
|
+
# ],
|
2855
|
+
# starts_with: {
|
2856
|
+
# key: "FilterKey", # required
|
2857
|
+
# value: { # required
|
2858
|
+
# },
|
2859
|
+
# },
|
2860
|
+
# string_contains: {
|
2861
|
+
# key: "FilterKey", # required
|
2862
|
+
# value: { # required
|
2863
|
+
# },
|
2864
|
+
# },
|
2865
|
+
# },
|
2866
|
+
# implicit_filter_configuration: {
|
2867
|
+
# metadata_attributes: [ # required
|
2868
|
+
# {
|
2869
|
+
# description: "MetadataAttributeSchemaDescriptionString", # required
|
2870
|
+
# key: "MetadataAttributeSchemaKeyString", # required
|
2871
|
+
# type: "STRING", # required, accepts STRING, NUMBER, BOOLEAN, STRING_LIST
|
2872
|
+
# },
|
2873
|
+
# ],
|
2874
|
+
# model_arn: "BedrockModelArn", # required
|
2875
|
+
# },
|
2876
|
+
# number_of_results: 1,
|
2877
|
+
# override_search_type: "HYBRID", # accepts HYBRID, SEMANTIC
|
2878
|
+
# reranking_configuration: {
|
2879
|
+
# bedrock_reranking_configuration: {
|
2880
|
+
# metadata_configuration: {
|
2881
|
+
# selection_mode: "SELECTIVE", # required, accepts SELECTIVE, ALL
|
2882
|
+
# selective_mode_configuration: {
|
2883
|
+
# fields_to_exclude: [
|
2884
|
+
# {
|
2885
|
+
# field_name: "FieldForRerankingFieldNameString", # required
|
2886
|
+
# },
|
2887
|
+
# ],
|
2888
|
+
# fields_to_include: [
|
2889
|
+
# {
|
2890
|
+
# field_name: "FieldForRerankingFieldNameString", # required
|
2891
|
+
# },
|
2892
|
+
# ],
|
2893
|
+
# },
|
2894
|
+
# },
|
2895
|
+
# model_configuration: { # required
|
2896
|
+
# additional_model_request_fields: {
|
2897
|
+
# "AdditionalModelRequestFieldsKey" => {
|
2898
|
+
# },
|
2899
|
+
# },
|
2900
|
+
# model_arn: "BedrockRerankingModelArn", # required
|
2901
|
+
# },
|
2902
|
+
# number_of_reranked_results: 1,
|
2903
|
+
# },
|
2904
|
+
# type: "BEDROCK_RERANKING_MODEL", # required, accepts BEDROCK_RERANKING_MODEL
|
2905
|
+
# },
|
2906
|
+
# },
|
2907
|
+
# },
|
2908
|
+
# },
|
2909
|
+
# ],
|
2910
|
+
# prompt_override_configuration: {
|
2911
|
+
# override_lambda: "LambdaResourceArn",
|
2912
|
+
# prompt_configurations: [ # required
|
2913
|
+
# {
|
2914
|
+
# additional_model_request_fields: {
|
2915
|
+
# },
|
2916
|
+
# base_prompt_template: "BasePromptTemplate",
|
2917
|
+
# foundation_model: "ModelIdentifier",
|
2918
|
+
# inference_configuration: {
|
2919
|
+
# maximum_length: 1,
|
2920
|
+
# stop_sequences: ["String"],
|
2921
|
+
# temperature: 1.0,
|
2922
|
+
# top_k: 1,
|
2923
|
+
# top_p: 1.0,
|
2924
|
+
# },
|
2925
|
+
# parser_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
|
2926
|
+
# prompt_creation_mode: "DEFAULT", # accepts DEFAULT, OVERRIDDEN
|
2927
|
+
# prompt_state: "ENABLED", # accepts ENABLED, DISABLED
|
2928
|
+
# prompt_type: "PRE_PROCESSING", # accepts PRE_PROCESSING, ORCHESTRATION, KNOWLEDGE_BASE_RESPONSE_GENERATION, POST_PROCESSING, ROUTING_CLASSIFIER
|
2929
|
+
# },
|
2930
|
+
# ],
|
2931
|
+
# },
|
2932
|
+
# },
|
2933
|
+
# ],
|
2679
2934
|
# customer_encryption_key_arn: "KmsKeyArn",
|
2680
2935
|
# enable_trace: false,
|
2681
2936
|
# end_session: false,
|
@@ -2686,6 +2941,18 @@ module Aws::BedrockAgentRuntime
|
|
2686
2941
|
# },
|
2687
2942
|
# idle_session_ttl_in_seconds: 1,
|
2688
2943
|
# inline_session_state: {
|
2944
|
+
# conversation_history: {
|
2945
|
+
# messages: [
|
2946
|
+
# {
|
2947
|
+
# content: [ # required
|
2948
|
+
# {
|
2949
|
+
# text: "String",
|
2950
|
+
# },
|
2951
|
+
# ],
|
2952
|
+
# role: "user", # required, accepts user, assistant
|
2953
|
+
# },
|
2954
|
+
# ],
|
2955
|
+
# },
|
2689
2956
|
# files: [
|
2690
2957
|
# {
|
2691
2958
|
# name: "String", # required
|
@@ -2718,6 +2985,14 @@ module Aws::BedrockAgentRuntime
|
|
2718
2985
|
# response_body: {
|
2719
2986
|
# "String" => {
|
2720
2987
|
# body: "String",
|
2988
|
+
# images: [
|
2989
|
+
# {
|
2990
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
2991
|
+
# source: { # required
|
2992
|
+
# bytes: "data",
|
2993
|
+
# },
|
2994
|
+
# },
|
2995
|
+
# ],
|
2721
2996
|
# },
|
2722
2997
|
# },
|
2723
2998
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -2730,6 +3005,14 @@ module Aws::BedrockAgentRuntime
|
|
2730
3005
|
# response_body: {
|
2731
3006
|
# "String" => {
|
2732
3007
|
# body: "String",
|
3008
|
+
# images: [
|
3009
|
+
# {
|
3010
|
+
# format: "png", # required, accepts png, jpeg, gif, webp
|
3011
|
+
# source: { # required
|
3012
|
+
# bytes: "data",
|
3013
|
+
# },
|
3014
|
+
# },
|
3015
|
+
# ],
|
2733
3016
|
# },
|
2734
3017
|
# },
|
2735
3018
|
# response_state: "FAILURE", # accepts FAILURE, REPROMPT
|
@@ -2866,6 +3149,7 @@ module Aws::BedrockAgentRuntime
|
|
2866
3149
|
# additional_model_request_fields: {
|
2867
3150
|
# },
|
2868
3151
|
# base_prompt_template: "BasePromptTemplate",
|
3152
|
+
# foundation_model: "ModelIdentifier",
|
2869
3153
|
# inference_configuration: {
|
2870
3154
|
# maximum_length: 1,
|
2871
3155
|
# stop_sequences: ["String"],
|
@@ -3064,6 +3348,9 @@ module Aws::BedrockAgentRuntime
|
|
3064
3348
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
3065
3349
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
3066
3350
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
3351
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
3352
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3353
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
3067
3354
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3068
3355
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
3069
3356
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -3071,6 +3358,9 @@ module Aws::BedrockAgentRuntime
|
|
3071
3358
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
3072
3359
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
3073
3360
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
3361
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
3362
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3363
|
+
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
3074
3364
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3075
3365
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
3076
3366
|
# event.trace.orchestration_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -3232,6 +3522,9 @@ module Aws::BedrockAgentRuntime
|
|
3232
3522
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.http_status_code #=> Integer
|
3233
3523
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body #=> Hash
|
3234
3524
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].body #=> String
|
3525
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images #=> Array
|
3526
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3527
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_body["String"].images[0].source.bytes #=> String
|
3235
3528
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].api_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3236
3529
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.action_group #=> String
|
3237
3530
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.agent_id #=> String
|
@@ -3239,6 +3532,9 @@ module Aws::BedrockAgentRuntime
|
|
3239
3532
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.function #=> String
|
3240
3533
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body #=> Hash
|
3241
3534
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].body #=> String
|
3535
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images #=> Array
|
3536
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].format #=> String, one of "png", "jpeg", "gif", "webp"
|
3537
|
+
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_body["String"].images[0].source.bytes #=> String
|
3242
3538
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.return_control_results.return_control_invocation_results[0].function_result.response_state #=> String, one of "FAILURE", "REPROMPT"
|
3243
3539
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.text #=> String
|
3244
3540
|
# event.trace.routing_classifier_trace.invocation_input.agent_collaborator_invocation_input.input.type #=> String, one of "TEXT", "RETURN_CONTROL"
|
@@ -5135,7 +5431,7 @@ module Aws::BedrockAgentRuntime
|
|
5135
5431
|
tracer: tracer
|
5136
5432
|
)
|
5137
5433
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
5138
|
-
context[:gem_version] = '1.
|
5434
|
+
context[:gem_version] = '1.49.0'
|
5139
5435
|
Seahorse::Client::Request.new(handlers, context)
|
5140
5436
|
end
|
5141
5437
|
|