aws-sdk-bedrockagent 1.49.0 → 1.51.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-bedrockagent/client.rb +161 -30
- data/lib/aws-sdk-bedrockagent/client_api.rb +38 -0
- data/lib/aws-sdk-bedrockagent/types.rb +238 -25
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +38 -4
- data/sig/types.rbs +38 -4
- 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: e00949b3c8f2b6f70ca1951dc2600827d7e7b843b3aa5f0f3db2d5f6ef52cbcd
|
4
|
+
data.tar.gz: cb8ac7f1612a2218cfda9dae949fe09e0ec454e2c40fd3e323f91c9c50f0ec58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34b02e90dd9189b77d5c69569478683948965fc67893c4b0a9ed5bed67d5ab255137909a9d21bf6d55d480ac5c2c045195dd21db56794bfb9f1fcade7c9def6b
|
7
|
+
data.tar.gz: a59626199e9ad4e79d9a4f808da3068d6fe9a96166e7b9cd2f6cd77dba0de6c9aea94ad3d2597e85cd73b952decb363b6133240845727c3d34c2e47762d01442
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2025-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for computer use tools
|
8
|
+
|
9
|
+
1.50.0 (2025-03-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG.
|
13
|
+
|
4
14
|
1.49.0 (2025-02-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -932,24 +932,53 @@ module Aws::BedrockAgent
|
|
932
932
|
# JSON or YAML-formatted payload defining the schema.
|
933
933
|
#
|
934
934
|
# @option params [String] :parent_action_group_signature
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
# `actionGroupExecutor` fields blank for this action group.
|
935
|
+
# Specify a built-in or computer use action for this action group. If
|
936
|
+
# you specify a value, you must leave the `description`, `apiSchema`,
|
937
|
+
# and `actionGroupExecutor` fields empty for this action group.
|
939
938
|
#
|
940
|
-
# To allow your agent to
|
941
|
-
#
|
942
|
-
#
|
943
|
-
# `actionGroupExecutor` fields blank for this action group.
|
939
|
+
# * To allow your agent to request the user for additional information
|
940
|
+
# when trying to complete a task, set this field to
|
941
|
+
# `AMAZON.UserInput`.
|
944
942
|
#
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
948
|
-
#
|
943
|
+
# * To allow your agent to generate, run, and troubleshoot code when
|
944
|
+
# trying to complete a task, set this field to
|
945
|
+
# `AMAZON.CodeInterpreter`.
|
946
|
+
#
|
947
|
+
# * To allow your agent to use an Anthropic computer use tool, specify
|
948
|
+
# one of the following values.
|
949
|
+
#
|
950
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
951
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
|
952
|
+
# only. When operating computer use functionality, we recommend taking
|
953
|
+
# additional security precautions, such as executing computer actions
|
954
|
+
# in virtual environments with restricted data access and limited
|
955
|
+
# internet connectivity. For more information, see [Configure an
|
956
|
+
# Amazon Bedrock Agent to complete tasks with computer use tools][1].
|
957
|
+
#
|
958
|
+
# * `ANTHROPIC.Computer` - Gives the agent permission to use the mouse
|
959
|
+
# and keyboard and take screenshots.
|
960
|
+
#
|
961
|
+
# * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
|
962
|
+
# create and edit files.
|
963
|
+
#
|
964
|
+
# * `ANTHROPIC.Bash` - Gives the agent permission to run commands in a
|
965
|
+
# bash shell.
|
966
|
+
#
|
967
|
+
#
|
968
|
+
#
|
969
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
970
|
+
#
|
971
|
+
# @option params [Hash<String,String>] :parent_action_group_signature_params
|
972
|
+
# The configuration settings for a computer use action.
|
949
973
|
#
|
974
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
975
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
|
976
|
+
# only. For more information, see [Configure an Amazon Bedrock Agent to
|
977
|
+
# complete tasks with computer use tools][1].
|
950
978
|
#
|
951
979
|
#
|
952
|
-
#
|
980
|
+
#
|
981
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
953
982
|
#
|
954
983
|
# @return [Types::CreateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
955
984
|
#
|
@@ -991,7 +1020,10 @@ module Aws::BedrockAgent
|
|
991
1020
|
# },
|
992
1021
|
# ],
|
993
1022
|
# },
|
994
|
-
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
|
1023
|
+
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
|
1024
|
+
# parent_action_group_signature_params: {
|
1025
|
+
# "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
|
1026
|
+
# },
|
995
1027
|
# })
|
996
1028
|
#
|
997
1029
|
# @example Response structure
|
@@ -1017,7 +1049,9 @@ module Aws::BedrockAgent
|
|
1017
1049
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
|
1018
1050
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
|
1019
1051
|
# resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
|
1020
|
-
# resp.agent_action_group.
|
1052
|
+
# resp.agent_action_group.parent_action_group_signature_params #=> Hash
|
1053
|
+
# resp.agent_action_group.parent_action_group_signature_params["ActionGroupSignatureParamsKeyString"] #=> String
|
1054
|
+
# resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor"
|
1021
1055
|
# resp.agent_action_group.updated_at #=> Time
|
1022
1056
|
#
|
1023
1057
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentActionGroup AWS API Documentation
|
@@ -1301,6 +1335,15 @@ module Aws::BedrockAgent
|
|
1301
1335
|
# max_tokens: 1, # required
|
1302
1336
|
# },
|
1303
1337
|
# },
|
1338
|
+
# context_enrichment_configuration: {
|
1339
|
+
# bedrock_foundation_model_configuration: {
|
1340
|
+
# enrichment_strategy_configuration: { # required
|
1341
|
+
# method: "CHUNK_ENTITY_EXTRACTION", # required, accepts CHUNK_ENTITY_EXTRACTION
|
1342
|
+
# },
|
1343
|
+
# model_arn: "BedrockModelArn", # required
|
1344
|
+
# },
|
1345
|
+
# type: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
|
1346
|
+
# },
|
1304
1347
|
# custom_transformation_configuration: {
|
1305
1348
|
# intermediate_storage: { # required
|
1306
1349
|
# s3_location: { # required
|
@@ -1407,6 +1450,9 @@ module Aws::BedrockAgent
|
|
1407
1450
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.breakpoint_percentile_threshold #=> Integer
|
1408
1451
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.buffer_size #=> Integer
|
1409
1452
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.max_tokens #=> Integer
|
1453
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.enrichment_strategy_configuration.method #=> String, one of "CHUNK_ENTITY_EXTRACTION"
|
1454
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
1455
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.type #=> String, one of "BEDROCK_FOUNDATION_MODEL"
|
1410
1456
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.intermediate_storage.s3_location.uri #=> String
|
1411
1457
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
1412
1458
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
@@ -2179,6 +2225,13 @@ module Aws::BedrockAgent
|
|
2179
2225
|
# },
|
2180
2226
|
# vector_index_name: "MongoDbAtlasIndexName", # required
|
2181
2227
|
# },
|
2228
|
+
# neptune_analytics_configuration: {
|
2229
|
+
# field_mapping: { # required
|
2230
|
+
# metadata_field: "FieldName", # required
|
2231
|
+
# text_field: "FieldName", # required
|
2232
|
+
# },
|
2233
|
+
# graph_arn: "GraphArn", # required
|
2234
|
+
# },
|
2182
2235
|
# opensearch_serverless_configuration: {
|
2183
2236
|
# collection_arn: "OpenSearchServerlessCollectionArn", # required
|
2184
2237
|
# field_mapping: { # required
|
@@ -2219,7 +2272,7 @@ module Aws::BedrockAgent
|
|
2219
2272
|
# },
|
2220
2273
|
# vector_index_name: "RedisEnterpriseCloudIndexName", # required
|
2221
2274
|
# },
|
2222
|
-
# type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
|
2275
|
+
# type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS, NEPTUNE_ANALYTICS
|
2223
2276
|
# },
|
2224
2277
|
# tags: {
|
2225
2278
|
# "TagKey" => "TagValue",
|
@@ -2280,6 +2333,9 @@ module Aws::BedrockAgent
|
|
2280
2333
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
|
2281
2334
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
|
2282
2335
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
|
2336
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
|
2337
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
|
2338
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.graph_arn #=> String
|
2283
2339
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
|
2284
2340
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
|
2285
2341
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
|
@@ -2304,7 +2360,7 @@ module Aws::BedrockAgent
|
|
2304
2360
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
2305
2361
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
2306
2362
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
2307
|
-
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
|
2363
|
+
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS"
|
2308
2364
|
# resp.knowledge_base.updated_at #=> Time
|
2309
2365
|
#
|
2310
2366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
|
@@ -3287,7 +3343,9 @@ module Aws::BedrockAgent
|
|
3287
3343
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
|
3288
3344
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
|
3289
3345
|
# resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
|
3290
|
-
# resp.agent_action_group.
|
3346
|
+
# resp.agent_action_group.parent_action_group_signature_params #=> Hash
|
3347
|
+
# resp.agent_action_group.parent_action_group_signature_params["ActionGroupSignatureParamsKeyString"] #=> String
|
3348
|
+
# resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor"
|
3291
3349
|
# resp.agent_action_group.updated_at #=> Time
|
3292
3350
|
#
|
3293
3351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentActionGroup AWS API Documentation
|
@@ -3600,6 +3658,9 @@ module Aws::BedrockAgent
|
|
3600
3658
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.breakpoint_percentile_threshold #=> Integer
|
3601
3659
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.buffer_size #=> Integer
|
3602
3660
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.max_tokens #=> Integer
|
3661
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.enrichment_strategy_configuration.method #=> String, one of "CHUNK_ENTITY_EXTRACTION"
|
3662
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
3663
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.type #=> String, one of "BEDROCK_FOUNDATION_MODEL"
|
3603
3664
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.intermediate_storage.s3_location.uri #=> String
|
3604
3665
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
3605
3666
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
@@ -4069,6 +4130,9 @@ module Aws::BedrockAgent
|
|
4069
4130
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
|
4070
4131
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
|
4071
4132
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
|
4133
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
|
4134
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
|
4135
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.graph_arn #=> String
|
4072
4136
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
|
4073
4137
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
|
4074
4138
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
|
@@ -4093,7 +4157,7 @@ module Aws::BedrockAgent
|
|
4093
4157
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
4094
4158
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
4095
4159
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
4096
|
-
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
|
4160
|
+
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS"
|
4097
4161
|
# resp.knowledge_base.updated_at #=> Time
|
4098
4162
|
#
|
4099
4163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
|
@@ -5727,19 +5791,59 @@ module Aws::BedrockAgent
|
|
5727
5791
|
# JSON or YAML-formatted payload defining the schema.
|
5728
5792
|
#
|
5729
5793
|
# @option params [String] :parent_action_group_signature
|
5730
|
-
#
|
5731
|
-
#
|
5732
|
-
#
|
5733
|
-
#
|
5794
|
+
# Update the built-in or computer use action for this action group. If
|
5795
|
+
# you specify a value, you must leave the `description`, `apiSchema`,
|
5796
|
+
# and `actionGroupExecutor` fields empty for this action group.
|
5797
|
+
#
|
5798
|
+
# * To allow your agent to request the user for additional information
|
5799
|
+
# when trying to complete a task, set this field to
|
5800
|
+
# `AMAZON.UserInput`.
|
5801
|
+
#
|
5802
|
+
# * To allow your agent to generate, run, and troubleshoot code when
|
5803
|
+
# trying to complete a task, set this field to
|
5804
|
+
# `AMAZON.CodeInterpreter`.
|
5805
|
+
#
|
5806
|
+
# * To allow your agent to use an Anthropic computer use tool, specify
|
5807
|
+
# one of the following values.
|
5808
|
+
#
|
5809
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
5810
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
|
5811
|
+
# only. When operating computer use functionality, we recommend taking
|
5812
|
+
# additional security precautions, such as executing computer actions
|
5813
|
+
# in virtual environments with restricted data access and limited
|
5814
|
+
# internet connectivity. For more information, see [Configure an
|
5815
|
+
# Amazon Bedrock Agent to complete tasks with computer use tools][1].
|
5816
|
+
#
|
5817
|
+
# * `ANTHROPIC.Computer` - Gives the agent permission to use the mouse
|
5818
|
+
# and keyboard and take screenshots.
|
5819
|
+
#
|
5820
|
+
# * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
|
5821
|
+
# create and edit files.
|
5822
|
+
#
|
5823
|
+
# * `ANTHROPIC.Bash` - Gives the agent permission to run commands in a
|
5824
|
+
# bash shell.
|
5734
5825
|
#
|
5735
5826
|
# During orchestration, if your agent determines that it needs to invoke
|
5736
5827
|
# an API in an action group, but doesn't have enough information to
|
5737
5828
|
# complete the API request, it will invoke this action group instead and
|
5738
|
-
# return an [Observation][
|
5829
|
+
# return an [Observation][2] reprompting the user for more information.
|
5830
|
+
#
|
5831
|
+
#
|
5832
|
+
#
|
5833
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
5834
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
|
5835
|
+
#
|
5836
|
+
# @option params [Hash<String,String>] :parent_action_group_signature_params
|
5837
|
+
# The configuration settings for a computer use action.
|
5838
|
+
#
|
5839
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
5840
|
+
# available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more
|
5841
|
+
# information, see [Configure an Amazon Bedrock Agent to complete tasks
|
5842
|
+
# with computer use tools][1].
|
5739
5843
|
#
|
5740
5844
|
#
|
5741
5845
|
#
|
5742
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/
|
5846
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
5743
5847
|
#
|
5744
5848
|
# @return [Types::UpdateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5745
5849
|
#
|
@@ -5781,7 +5885,10 @@ module Aws::BedrockAgent
|
|
5781
5885
|
# },
|
5782
5886
|
# ],
|
5783
5887
|
# },
|
5784
|
-
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter
|
5888
|
+
# parent_action_group_signature: "AMAZON.UserInput", # accepts AMAZON.UserInput, AMAZON.CodeInterpreter, ANTHROPIC.Computer, ANTHROPIC.Bash, ANTHROPIC.TextEditor
|
5889
|
+
# parent_action_group_signature_params: {
|
5890
|
+
# "ActionGroupSignatureParamsKeyString" => "ActionGroupSignatureParamsValueString",
|
5891
|
+
# },
|
5785
5892
|
# })
|
5786
5893
|
#
|
5787
5894
|
# @example Response structure
|
@@ -5807,7 +5914,9 @@ module Aws::BedrockAgent
|
|
5807
5914
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].required #=> Boolean
|
5808
5915
|
# resp.agent_action_group.function_schema.functions[0].parameters["Name"].type #=> String, one of "string", "number", "integer", "boolean", "array"
|
5809
5916
|
# resp.agent_action_group.function_schema.functions[0].require_confirmation #=> String, one of "ENABLED", "DISABLED"
|
5810
|
-
# resp.agent_action_group.
|
5917
|
+
# resp.agent_action_group.parent_action_group_signature_params #=> Hash
|
5918
|
+
# resp.agent_action_group.parent_action_group_signature_params["ActionGroupSignatureParamsKeyString"] #=> String
|
5919
|
+
# resp.agent_action_group.parent_action_signature #=> String, one of "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor"
|
5811
5920
|
# resp.agent_action_group.updated_at #=> Time
|
5812
5921
|
#
|
5813
5922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentActionGroup AWS API Documentation
|
@@ -6173,6 +6282,15 @@ module Aws::BedrockAgent
|
|
6173
6282
|
# max_tokens: 1, # required
|
6174
6283
|
# },
|
6175
6284
|
# },
|
6285
|
+
# context_enrichment_configuration: {
|
6286
|
+
# bedrock_foundation_model_configuration: {
|
6287
|
+
# enrichment_strategy_configuration: { # required
|
6288
|
+
# method: "CHUNK_ENTITY_EXTRACTION", # required, accepts CHUNK_ENTITY_EXTRACTION
|
6289
|
+
# },
|
6290
|
+
# model_arn: "BedrockModelArn", # required
|
6291
|
+
# },
|
6292
|
+
# type: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
|
6293
|
+
# },
|
6176
6294
|
# custom_transformation_configuration: {
|
6177
6295
|
# intermediate_storage: { # required
|
6178
6296
|
# s3_location: { # required
|
@@ -6279,6 +6397,9 @@ module Aws::BedrockAgent
|
|
6279
6397
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.breakpoint_percentile_threshold #=> Integer
|
6280
6398
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.buffer_size #=> Integer
|
6281
6399
|
# resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.max_tokens #=> Integer
|
6400
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.enrichment_strategy_configuration.method #=> String, one of "CHUNK_ENTITY_EXTRACTION"
|
6401
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
6402
|
+
# resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.type #=> String, one of "BEDROCK_FOUNDATION_MODEL"
|
6282
6403
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.intermediate_storage.s3_location.uri #=> String
|
6283
6404
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
6284
6405
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
@@ -6841,6 +6962,13 @@ module Aws::BedrockAgent
|
|
6841
6962
|
# },
|
6842
6963
|
# vector_index_name: "MongoDbAtlasIndexName", # required
|
6843
6964
|
# },
|
6965
|
+
# neptune_analytics_configuration: {
|
6966
|
+
# field_mapping: { # required
|
6967
|
+
# metadata_field: "FieldName", # required
|
6968
|
+
# text_field: "FieldName", # required
|
6969
|
+
# },
|
6970
|
+
# graph_arn: "GraphArn", # required
|
6971
|
+
# },
|
6844
6972
|
# opensearch_serverless_configuration: {
|
6845
6973
|
# collection_arn: "OpenSearchServerlessCollectionArn", # required
|
6846
6974
|
# field_mapping: { # required
|
@@ -6881,7 +7009,7 @@ module Aws::BedrockAgent
|
|
6881
7009
|
# },
|
6882
7010
|
# vector_index_name: "RedisEnterpriseCloudIndexName", # required
|
6883
7011
|
# },
|
6884
|
-
# type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
|
7012
|
+
# type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS, NEPTUNE_ANALYTICS
|
6885
7013
|
# },
|
6886
7014
|
# })
|
6887
7015
|
#
|
@@ -6939,6 +7067,9 @@ module Aws::BedrockAgent
|
|
6939
7067
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
|
6940
7068
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
|
6941
7069
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
|
7070
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
|
7071
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
|
7072
|
+
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.graph_arn #=> String
|
6942
7073
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
|
6943
7074
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
|
6944
7075
|
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
|
@@ -6963,7 +7094,7 @@ module Aws::BedrockAgent
|
|
6963
7094
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
6964
7095
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
6965
7096
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
6966
|
-
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
|
7097
|
+
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS"
|
6967
7098
|
# resp.knowledge_base.updated_at #=> Time
|
6968
7099
|
#
|
6969
7100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
|
@@ -7448,7 +7579,7 @@ module Aws::BedrockAgent
|
|
7448
7579
|
tracer: tracer
|
7449
7580
|
)
|
7450
7581
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
7451
|
-
context[:gem_version] = '1.
|
7582
|
+
context[:gem_version] = '1.51.0'
|
7452
7583
|
Seahorse::Client::Request.new(handlers, context)
|
7453
7584
|
end
|
7454
7585
|
|
@@ -18,6 +18,9 @@ module Aws::BedrockAgent
|
|
18
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
19
19
|
ActionGroupExecutor = Shapes::UnionShape.new(name: 'ActionGroupExecutor')
|
20
20
|
ActionGroupSignature = Shapes::StringShape.new(name: 'ActionGroupSignature')
|
21
|
+
ActionGroupSignatureParams = Shapes::MapShape.new(name: 'ActionGroupSignatureParams')
|
22
|
+
ActionGroupSignatureParamsKeyString = Shapes::StringShape.new(name: 'ActionGroupSignatureParamsKeyString')
|
23
|
+
ActionGroupSignatureParamsValueString = Shapes::StringShape.new(name: 'ActionGroupSignatureParamsValueString')
|
21
24
|
ActionGroupState = Shapes::StringShape.new(name: 'ActionGroupState')
|
22
25
|
ActionGroupSummaries = Shapes::ListShape.new(name: 'ActionGroupSummaries')
|
23
26
|
ActionGroupSummary = Shapes::StructureShape.new(name: 'ActionGroupSummary')
|
@@ -63,6 +66,7 @@ module Aws::BedrockAgent
|
|
63
66
|
BedrockEmbeddingModelArn = Shapes::StringShape.new(name: 'BedrockEmbeddingModelArn')
|
64
67
|
BedrockEmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'BedrockEmbeddingModelConfiguration')
|
65
68
|
BedrockFoundationModelConfiguration = Shapes::StructureShape.new(name: 'BedrockFoundationModelConfiguration')
|
69
|
+
BedrockFoundationModelContextEnrichmentConfiguration = Shapes::StructureShape.new(name: 'BedrockFoundationModelContextEnrichmentConfiguration')
|
66
70
|
BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
|
67
71
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
68
72
|
BucketOwnerAccountId = Shapes::StringShape.new(name: 'BucketOwnerAccountId')
|
@@ -88,6 +92,8 @@ module Aws::BedrockAgent
|
|
88
92
|
ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
|
89
93
|
ContentBlocks = Shapes::ListShape.new(name: 'ContentBlocks')
|
90
94
|
ContentDataSourceType = Shapes::StringShape.new(name: 'ContentDataSourceType')
|
95
|
+
ContextEnrichmentConfiguration = Shapes::StructureShape.new(name: 'ContextEnrichmentConfiguration')
|
96
|
+
ContextEnrichmentType = Shapes::StringShape.new(name: 'ContextEnrichmentType')
|
91
97
|
ConversationRole = Shapes::StringShape.new(name: 'ConversationRole')
|
92
98
|
CrawlFilterConfiguration = Shapes::StructureShape.new(name: 'CrawlFilterConfiguration')
|
93
99
|
CrawlFilterConfigurationType = Shapes::StringShape.new(name: 'CrawlFilterConfigurationType')
|
@@ -174,6 +180,8 @@ module Aws::BedrockAgent
|
|
174
180
|
EmbeddingDataType = Shapes::StringShape.new(name: 'EmbeddingDataType')
|
175
181
|
EmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'EmbeddingModelConfiguration')
|
176
182
|
EnabledMemoryTypes = Shapes::ListShape.new(name: 'EnabledMemoryTypes')
|
183
|
+
EnrichmentStrategyConfiguration = Shapes::StructureShape.new(name: 'EnrichmentStrategyConfiguration')
|
184
|
+
EnrichmentStrategyMethod = Shapes::StringShape.new(name: 'EnrichmentStrategyMethod')
|
177
185
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
178
186
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
179
187
|
FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
|
@@ -264,6 +272,7 @@ module Aws::BedrockAgent
|
|
264
272
|
GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
|
265
273
|
GetPromptRequest = Shapes::StructureShape.new(name: 'GetPromptRequest')
|
266
274
|
GetPromptResponse = Shapes::StructureShape.new(name: 'GetPromptResponse')
|
275
|
+
GraphArn = Shapes::StringShape.new(name: 'GraphArn')
|
267
276
|
GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
|
268
277
|
GuardrailIdentifier = Shapes::StringShape.new(name: 'GuardrailIdentifier')
|
269
278
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
@@ -390,6 +399,8 @@ module Aws::BedrockAgent
|
|
390
399
|
MultipleNodeInputConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'MultipleNodeInputConnectionsFlowValidationDetails')
|
391
400
|
Name = Shapes::StringShape.new(name: 'Name')
|
392
401
|
NaturalLanguageString = Shapes::StringShape.new(name: 'NaturalLanguageString')
|
402
|
+
NeptuneAnalyticsConfiguration = Shapes::StructureShape.new(name: 'NeptuneAnalyticsConfiguration')
|
403
|
+
NeptuneAnalyticsFieldMapping = Shapes::StructureShape.new(name: 'NeptuneAnalyticsFieldMapping')
|
393
404
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
394
405
|
NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
|
395
406
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
@@ -655,6 +666,9 @@ module Aws::BedrockAgent
|
|
655
666
|
ActionGroupExecutor.add_member_subclass(:unknown, Types::ActionGroupExecutor::Unknown)
|
656
667
|
ActionGroupExecutor.struct_class = Types::ActionGroupExecutor
|
657
668
|
|
669
|
+
ActionGroupSignatureParams.key = Shapes::ShapeRef.new(shape: ActionGroupSignatureParamsKeyString)
|
670
|
+
ActionGroupSignatureParams.value = Shapes::ShapeRef.new(shape: ActionGroupSignatureParamsValueString)
|
671
|
+
|
658
672
|
ActionGroupSummaries.member = Shapes::ShapeRef.new(shape: ActionGroupSummary)
|
659
673
|
|
660
674
|
ActionGroupSummary.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "actionGroupId"))
|
@@ -700,6 +714,7 @@ module Aws::BedrockAgent
|
|
700
714
|
AgentActionGroup.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
701
715
|
AgentActionGroup.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
702
716
|
AgentActionGroup.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
|
717
|
+
AgentActionGroup.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
|
703
718
|
AgentActionGroup.add_member(:parent_action_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionSignature"))
|
704
719
|
AgentActionGroup.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
705
720
|
AgentActionGroup.struct_class = Types::AgentActionGroup
|
@@ -873,6 +888,10 @@ module Aws::BedrockAgent
|
|
873
888
|
BedrockFoundationModelConfiguration.add_member(:parsing_prompt, Shapes::ShapeRef.new(shape: ParsingPrompt, location_name: "parsingPrompt"))
|
874
889
|
BedrockFoundationModelConfiguration.struct_class = Types::BedrockFoundationModelConfiguration
|
875
890
|
|
891
|
+
BedrockFoundationModelContextEnrichmentConfiguration.add_member(:enrichment_strategy_configuration, Shapes::ShapeRef.new(shape: EnrichmentStrategyConfiguration, required: true, location_name: "enrichmentStrategyConfiguration"))
|
892
|
+
BedrockFoundationModelContextEnrichmentConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
893
|
+
BedrockFoundationModelContextEnrichmentConfiguration.struct_class = Types::BedrockFoundationModelContextEnrichmentConfiguration
|
894
|
+
|
876
895
|
ByteContentDoc.add_member(:data, Shapes::ShapeRef.new(shape: ByteContentBlob, required: true, location_name: "data"))
|
877
896
|
ByteContentDoc.add_member(:mime_type, Shapes::ShapeRef.new(shape: ByteContentDocMimeTypeString, required: true, location_name: "mimeType"))
|
878
897
|
ByteContentDoc.struct_class = Types::ByteContentDoc
|
@@ -923,6 +942,10 @@ module Aws::BedrockAgent
|
|
923
942
|
|
924
943
|
ContentBlocks.member = Shapes::ShapeRef.new(shape: ContentBlock)
|
925
944
|
|
945
|
+
ContextEnrichmentConfiguration.add_member(:bedrock_foundation_model_configuration, Shapes::ShapeRef.new(shape: BedrockFoundationModelContextEnrichmentConfiguration, location_name: "bedrockFoundationModelConfiguration"))
|
946
|
+
ContextEnrichmentConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ContextEnrichmentType, required: true, location_name: "type"))
|
947
|
+
ContextEnrichmentConfiguration.struct_class = Types::ContextEnrichmentConfiguration
|
948
|
+
|
926
949
|
CrawlFilterConfiguration.add_member(:pattern_object_filter, Shapes::ShapeRef.new(shape: PatternObjectFilterConfiguration, location_name: "patternObjectFilter"))
|
927
950
|
CrawlFilterConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: CrawlFilterConfigurationType, required: true, location_name: "type"))
|
928
951
|
CrawlFilterConfiguration.struct_class = Types::CrawlFilterConfiguration
|
@@ -937,6 +960,7 @@ module Aws::BedrockAgent
|
|
937
960
|
CreateAgentActionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
938
961
|
CreateAgentActionGroupRequest.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
|
939
962
|
CreateAgentActionGroupRequest.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
|
963
|
+
CreateAgentActionGroupRequest.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
|
940
964
|
CreateAgentActionGroupRequest.struct_class = Types::CreateAgentActionGroupRequest
|
941
965
|
|
942
966
|
CreateAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
|
@@ -1293,6 +1317,9 @@ module Aws::BedrockAgent
|
|
1293
1317
|
|
1294
1318
|
EnabledMemoryTypes.member = Shapes::ShapeRef.new(shape: MemoryType)
|
1295
1319
|
|
1320
|
+
EnrichmentStrategyConfiguration.add_member(:method, Shapes::ShapeRef.new(shape: EnrichmentStrategyMethod, required: true, location_name: "method"))
|
1321
|
+
EnrichmentStrategyConfiguration.struct_class = Types::EnrichmentStrategyConfiguration
|
1322
|
+
|
1296
1323
|
FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
|
1297
1324
|
|
1298
1325
|
FilterList.member = Shapes::ShapeRef.new(shape: FilterPattern)
|
@@ -2009,6 +2036,14 @@ module Aws::BedrockAgent
|
|
2009
2036
|
MultipleNodeInputConnectionsFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
|
2010
2037
|
MultipleNodeInputConnectionsFlowValidationDetails.struct_class = Types::MultipleNodeInputConnectionsFlowValidationDetails
|
2011
2038
|
|
2039
|
+
NeptuneAnalyticsConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: NeptuneAnalyticsFieldMapping, required: true, location_name: "fieldMapping"))
|
2040
|
+
NeptuneAnalyticsConfiguration.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "graphArn"))
|
2041
|
+
NeptuneAnalyticsConfiguration.struct_class = Types::NeptuneAnalyticsConfiguration
|
2042
|
+
|
2043
|
+
NeptuneAnalyticsFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
|
2044
|
+
NeptuneAnalyticsFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
|
2045
|
+
NeptuneAnalyticsFieldMapping.struct_class = Types::NeptuneAnalyticsFieldMapping
|
2046
|
+
|
2012
2047
|
OpenSearchServerlessConfiguration.add_member(:collection_arn, Shapes::ShapeRef.new(shape: OpenSearchServerlessCollectionArn, required: true, location_name: "collectionArn"))
|
2013
2048
|
OpenSearchServerlessConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: OpenSearchServerlessFieldMapping, required: true, location_name: "fieldMapping"))
|
2014
2049
|
OpenSearchServerlessConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: OpenSearchServerlessIndexName, required: true, location_name: "vectorIndexName"))
|
@@ -2376,6 +2411,7 @@ module Aws::BedrockAgent
|
|
2376
2411
|
StopSequences.member = Shapes::ShapeRef.new(shape: String)
|
2377
2412
|
|
2378
2413
|
StorageConfiguration.add_member(:mongo_db_atlas_configuration, Shapes::ShapeRef.new(shape: MongoDbAtlasConfiguration, location_name: "mongoDbAtlasConfiguration"))
|
2414
|
+
StorageConfiguration.add_member(:neptune_analytics_configuration, Shapes::ShapeRef.new(shape: NeptuneAnalyticsConfiguration, location_name: "neptuneAnalyticsConfiguration"))
|
2379
2415
|
StorageConfiguration.add_member(:opensearch_serverless_configuration, Shapes::ShapeRef.new(shape: OpenSearchServerlessConfiguration, location_name: "opensearchServerlessConfiguration"))
|
2380
2416
|
StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
|
2381
2417
|
StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
|
@@ -2534,6 +2570,7 @@ module Aws::BedrockAgent
|
|
2534
2570
|
UpdateAgentActionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
2535
2571
|
UpdateAgentActionGroupRequest.add_member(:function_schema, Shapes::ShapeRef.new(shape: FunctionSchema, location_name: "functionSchema"))
|
2536
2572
|
UpdateAgentActionGroupRequest.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
|
2573
|
+
UpdateAgentActionGroupRequest.add_member(:parent_action_group_signature_params, Shapes::ShapeRef.new(shape: ActionGroupSignatureParams, location_name: "parentActionGroupSignatureParams"))
|
2537
2574
|
UpdateAgentActionGroupRequest.struct_class = Types::UpdateAgentActionGroupRequest
|
2538
2575
|
|
2539
2576
|
UpdateAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
|
@@ -2692,6 +2729,7 @@ module Aws::BedrockAgent
|
|
2692
2729
|
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
2693
2730
|
|
2694
2731
|
VectorIngestionConfiguration.add_member(:chunking_configuration, Shapes::ShapeRef.new(shape: ChunkingConfiguration, location_name: "chunkingConfiguration"))
|
2732
|
+
VectorIngestionConfiguration.add_member(:context_enrichment_configuration, Shapes::ShapeRef.new(shape: ContextEnrichmentConfiguration, location_name: "contextEnrichmentConfiguration"))
|
2695
2733
|
VectorIngestionConfiguration.add_member(:custom_transformation_configuration, Shapes::ShapeRef.new(shape: CustomTransformationConfiguration, location_name: "customTransformationConfiguration"))
|
2696
2734
|
VectorIngestionConfiguration.add_member(:parsing_configuration, Shapes::ShapeRef.new(shape: ParsingConfiguration, location_name: "parsingConfiguration"))
|
2697
2735
|
VectorIngestionConfiguration.struct_class = Types::VectorIngestionConfiguration
|
@@ -376,6 +376,19 @@ module Aws::BedrockAgent
|
|
376
376
|
# action group.
|
377
377
|
# @return [Types::FunctionSchema]
|
378
378
|
#
|
379
|
+
# @!attribute [rw] parent_action_group_signature_params
|
380
|
+
# The configuration settings for a computer use action.
|
381
|
+
#
|
382
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
383
|
+
# available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For
|
384
|
+
# more information, see [Configure an Amazon Bedrock Agent to complete
|
385
|
+
# tasks with computer use tools][1].
|
386
|
+
#
|
387
|
+
#
|
388
|
+
#
|
389
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
390
|
+
# @return [Hash<String,String>]
|
391
|
+
#
|
379
392
|
# @!attribute [rw] parent_action_signature
|
380
393
|
# If this field is set as `AMAZON.UserInput`, the agent can request
|
381
394
|
# the user for additional information when trying to complete a task.
|
@@ -411,6 +424,7 @@ module Aws::BedrockAgent
|
|
411
424
|
:created_at,
|
412
425
|
:description,
|
413
426
|
:function_schema,
|
427
|
+
:parent_action_group_signature_params,
|
414
428
|
:parent_action_signature,
|
415
429
|
:updated_at)
|
416
430
|
SENSITIVE = []
|
@@ -1257,6 +1271,29 @@ module Aws::BedrockAgent
|
|
1257
1271
|
include Aws::Structure
|
1258
1272
|
end
|
1259
1273
|
|
1274
|
+
# Context enrichment configuration is used to provide additional context
|
1275
|
+
# to the RAG application using Amazon Bedrock foundation models.
|
1276
|
+
#
|
1277
|
+
# @!attribute [rw] enrichment_strategy_configuration
|
1278
|
+
# The enrichment stategy used to provide additional context. For
|
1279
|
+
# example, Neptune GraphRAG uses Amazon Bedrock foundation models to
|
1280
|
+
# perform chunk entity extraction.
|
1281
|
+
# @return [Types::EnrichmentStrategyConfiguration]
|
1282
|
+
#
|
1283
|
+
# @!attribute [rw] model_arn
|
1284
|
+
# The Amazon Resource Name (ARN) of the foundation model used for
|
1285
|
+
# context enrichment.
|
1286
|
+
# @return [String]
|
1287
|
+
#
|
1288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockFoundationModelContextEnrichmentConfiguration AWS API Documentation
|
1289
|
+
#
|
1290
|
+
class BedrockFoundationModelContextEnrichmentConfiguration < Struct.new(
|
1291
|
+
:enrichment_strategy_configuration,
|
1292
|
+
:model_arn)
|
1293
|
+
SENSITIVE = []
|
1294
|
+
include Aws::Structure
|
1295
|
+
end
|
1296
|
+
|
1260
1297
|
# Contains information about content defined inline in bytes.
|
1261
1298
|
#
|
1262
1299
|
# @!attribute [rw] data
|
@@ -1592,6 +1629,28 @@ module Aws::BedrockAgent
|
|
1592
1629
|
class Unknown < ContentBlock; end
|
1593
1630
|
end
|
1594
1631
|
|
1632
|
+
# Context enrichment configuration is used to provide additional context
|
1633
|
+
# to the RAG application.
|
1634
|
+
#
|
1635
|
+
# @!attribute [rw] bedrock_foundation_model_configuration
|
1636
|
+
# The configuration of the Amazon Bedrock foundation model used for
|
1637
|
+
# context enrichment.
|
1638
|
+
# @return [Types::BedrockFoundationModelContextEnrichmentConfiguration]
|
1639
|
+
#
|
1640
|
+
# @!attribute [rw] type
|
1641
|
+
# The method used for context enrichment. It must be Amazon Bedrock
|
1642
|
+
# foundation models.
|
1643
|
+
# @return [String]
|
1644
|
+
#
|
1645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ContextEnrichmentConfiguration AWS API Documentation
|
1646
|
+
#
|
1647
|
+
class ContextEnrichmentConfiguration < Struct.new(
|
1648
|
+
:bedrock_foundation_model_configuration,
|
1649
|
+
:type)
|
1650
|
+
SENSITIVE = []
|
1651
|
+
include Aws::Structure
|
1652
|
+
end
|
1653
|
+
|
1595
1654
|
# The configuration of filtering the data source content. For example,
|
1596
1655
|
# configuring regular expression patterns to include or exclude certain
|
1597
1656
|
# content.
|
@@ -1680,28 +1739,57 @@ module Aws::BedrockAgent
|
|
1680
1739
|
# @return [Types::FunctionSchema]
|
1681
1740
|
#
|
1682
1741
|
# @!attribute [rw] parent_action_group_signature
|
1683
|
-
#
|
1684
|
-
#
|
1685
|
-
# `
|
1686
|
-
# and `actionGroupExecutor` fields blank for this action group.
|
1687
|
-
#
|
1688
|
-
# To allow your agent to generate, run, and troubleshoot code when
|
1689
|
-
# trying to complete a task, set this field to
|
1690
|
-
# `AMAZON.CodeInterpreter`. You must leave the `description`,
|
1691
|
-
# `apiSchema`, and `actionGroupExecutor` fields blank for this action
|
1692
|
-
# group.
|
1742
|
+
# Specify a built-in or computer use action for this action group. If
|
1743
|
+
# you specify a value, you must leave the `description`, `apiSchema`,
|
1744
|
+
# and `actionGroupExecutor` fields empty for this action group.
|
1693
1745
|
#
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
#
|
1697
|
-
# group instead and return an [Observation][1] reprompting the user
|
1698
|
-
# for more information.
|
1746
|
+
# * To allow your agent to request the user for additional information
|
1747
|
+
# when trying to complete a task, set this field to
|
1748
|
+
# `AMAZON.UserInput`.
|
1699
1749
|
#
|
1750
|
+
# * To allow your agent to generate, run, and troubleshoot code when
|
1751
|
+
# trying to complete a task, set this field to
|
1752
|
+
# `AMAZON.CodeInterpreter`.
|
1700
1753
|
#
|
1754
|
+
# * To allow your agent to use an Anthropic computer use tool, specify
|
1755
|
+
# one of the following values.
|
1701
1756
|
#
|
1702
|
-
#
|
1757
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
1758
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet
|
1759
|
+
# v2 only. When operating computer use functionality, we recommend
|
1760
|
+
# taking additional security precautions, such as executing computer
|
1761
|
+
# actions in virtual environments with restricted data access and
|
1762
|
+
# limited internet connectivity. For more information, see
|
1763
|
+
# [Configure an Amazon Bedrock Agent to complete tasks with computer
|
1764
|
+
# use tools][1].
|
1765
|
+
#
|
1766
|
+
# * `ANTHROPIC.Computer` - Gives the agent permission to use the
|
1767
|
+
# mouse and keyboard and take screenshots.
|
1768
|
+
#
|
1769
|
+
# * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
|
1770
|
+
# create and edit files.
|
1771
|
+
#
|
1772
|
+
# * `ANTHROPIC.Bash` - Gives the agent permission to run commands in
|
1773
|
+
# a bash shell.
|
1774
|
+
#
|
1775
|
+
#
|
1776
|
+
#
|
1777
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
1703
1778
|
# @return [String]
|
1704
1779
|
#
|
1780
|
+
# @!attribute [rw] parent_action_group_signature_params
|
1781
|
+
# The configuration settings for a computer use action.
|
1782
|
+
#
|
1783
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
1784
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2
|
1785
|
+
# only. For more information, see [Configure an Amazon Bedrock Agent
|
1786
|
+
# to complete tasks with computer use tools][1].
|
1787
|
+
#
|
1788
|
+
#
|
1789
|
+
#
|
1790
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
1791
|
+
# @return [Hash<String,String>]
|
1792
|
+
#
|
1705
1793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentActionGroupRequest AWS API Documentation
|
1706
1794
|
#
|
1707
1795
|
class CreateAgentActionGroupRequest < Struct.new(
|
@@ -1714,7 +1802,8 @@ module Aws::BedrockAgent
|
|
1714
1802
|
:client_token,
|
1715
1803
|
:description,
|
1716
1804
|
:function_schema,
|
1717
|
-
:parent_action_group_signature
|
1805
|
+
:parent_action_group_signature,
|
1806
|
+
:parent_action_group_signature_params)
|
1718
1807
|
SENSITIVE = []
|
1719
1808
|
include Aws::Structure
|
1720
1809
|
end
|
@@ -3606,6 +3695,20 @@ module Aws::BedrockAgent
|
|
3606
3695
|
include Aws::Structure
|
3607
3696
|
end
|
3608
3697
|
|
3698
|
+
# The strategy used for performing context enrichment.
|
3699
|
+
#
|
3700
|
+
# @!attribute [rw] method
|
3701
|
+
# The method used for the context enrichment strategy.
|
3702
|
+
# @return [String]
|
3703
|
+
#
|
3704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/EnrichmentStrategyConfiguration AWS API Documentation
|
3705
|
+
#
|
3706
|
+
class EnrichmentStrategyConfiguration < Struct.new(
|
3707
|
+
:method)
|
3708
|
+
SENSITIVE = []
|
3709
|
+
include Aws::Structure
|
3710
|
+
end
|
3711
|
+
|
3609
3712
|
# Configurations for when you choose fixed-size chunking. If you set the
|
3610
3713
|
# `chunkingStrategy` as `NONE`, exclude this field.
|
3611
3714
|
#
|
@@ -7088,6 +7191,56 @@ module Aws::BedrockAgent
|
|
7088
7191
|
include Aws::Structure
|
7089
7192
|
end
|
7090
7193
|
|
7194
|
+
# Contains details about the storage configuration of the knowledge base
|
7195
|
+
# in Amazon Neptune Analytics. For more information, see [Create a
|
7196
|
+
# vector index in Amazon Neptune Analytics][1].
|
7197
|
+
#
|
7198
|
+
#
|
7199
|
+
#
|
7200
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html
|
7201
|
+
#
|
7202
|
+
# @!attribute [rw] field_mapping
|
7203
|
+
# Contains the names of the fields to which to map information about
|
7204
|
+
# the vector store.
|
7205
|
+
# @return [Types::NeptuneAnalyticsFieldMapping]
|
7206
|
+
#
|
7207
|
+
# @!attribute [rw] graph_arn
|
7208
|
+
# The Amazon Resource Name (ARN) of the Neptune Analytics vector
|
7209
|
+
# store.
|
7210
|
+
# @return [String]
|
7211
|
+
#
|
7212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/NeptuneAnalyticsConfiguration AWS API Documentation
|
7213
|
+
#
|
7214
|
+
class NeptuneAnalyticsConfiguration < Struct.new(
|
7215
|
+
:field_mapping,
|
7216
|
+
:graph_arn)
|
7217
|
+
SENSITIVE = [:graph_arn]
|
7218
|
+
include Aws::Structure
|
7219
|
+
end
|
7220
|
+
|
7221
|
+
# Contains the names of the fields to which to map information about the
|
7222
|
+
# vector store.
|
7223
|
+
#
|
7224
|
+
# @!attribute [rw] metadata_field
|
7225
|
+
# The name of the field in which Amazon Bedrock stores metadata about
|
7226
|
+
# the vector store.
|
7227
|
+
# @return [String]
|
7228
|
+
#
|
7229
|
+
# @!attribute [rw] text_field
|
7230
|
+
# The name of the field in which Amazon Bedrock stores the raw text
|
7231
|
+
# from your data. The text is split according to the chunking strategy
|
7232
|
+
# you choose.
|
7233
|
+
# @return [String]
|
7234
|
+
#
|
7235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/NeptuneAnalyticsFieldMapping AWS API Documentation
|
7236
|
+
#
|
7237
|
+
class NeptuneAnalyticsFieldMapping < Struct.new(
|
7238
|
+
:metadata_field,
|
7239
|
+
:text_field)
|
7240
|
+
SENSITIVE = []
|
7241
|
+
include Aws::Structure
|
7242
|
+
end
|
7243
|
+
|
7091
7244
|
# Contains details about the storage configuration of the knowledge base
|
7092
7245
|
# in Amazon OpenSearch Service. For more information, see [Create a
|
7093
7246
|
# vector index in Amazon OpenSearch Service][1].
|
@@ -7542,7 +7695,7 @@ module Aws::BedrockAgent
|
|
7542
7695
|
# Specifies whether to override the default parser Lambda function
|
7543
7696
|
# when parsing the raw foundation model output in the part of the
|
7544
7697
|
# agent sequence defined by the `promptType`. If you set the field as
|
7545
|
-
# `
|
7698
|
+
# `OVERRIDDEN`, the `overrideLambda` field in the
|
7546
7699
|
# [PromptOverrideConfiguration][1] must be specified with the ARN of a
|
7547
7700
|
# Lambda function.
|
7548
7701
|
#
|
@@ -9050,6 +9203,16 @@ module Aws::BedrockAgent
|
|
9050
9203
|
# Atlas.
|
9051
9204
|
# @return [Types::MongoDbAtlasConfiguration]
|
9052
9205
|
#
|
9206
|
+
# @!attribute [rw] neptune_analytics_configuration
|
9207
|
+
# Contains details about the Neptune Analytics configuration of the
|
9208
|
+
# knowledge base in Amazon Neptune. For more information, see [Create
|
9209
|
+
# a vector index in Amazon Neptune Analytics.][1].
|
9210
|
+
#
|
9211
|
+
#
|
9212
|
+
#
|
9213
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html
|
9214
|
+
# @return [Types::NeptuneAnalyticsConfiguration]
|
9215
|
+
#
|
9053
9216
|
# @!attribute [rw] opensearch_serverless_configuration
|
9054
9217
|
# Contains the storage configuration of the knowledge base in Amazon
|
9055
9218
|
# OpenSearch Service.
|
@@ -9083,6 +9246,7 @@ module Aws::BedrockAgent
|
|
9083
9246
|
#
|
9084
9247
|
class StorageConfiguration < Struct.new(
|
9085
9248
|
:mongo_db_atlas_configuration,
|
9249
|
+
:neptune_analytics_configuration,
|
9086
9250
|
:opensearch_serverless_configuration,
|
9087
9251
|
:pinecone_configuration,
|
9088
9252
|
:rds_configuration,
|
@@ -9749,22 +9913,64 @@ module Aws::BedrockAgent
|
|
9749
9913
|
# @return [Types::FunctionSchema]
|
9750
9914
|
#
|
9751
9915
|
# @!attribute [rw] parent_action_group_signature
|
9752
|
-
#
|
9753
|
-
#
|
9754
|
-
# `
|
9755
|
-
#
|
9916
|
+
# Update the built-in or computer use action for this action group. If
|
9917
|
+
# you specify a value, you must leave the `description`, `apiSchema`,
|
9918
|
+
# and `actionGroupExecutor` fields empty for this action group.
|
9919
|
+
#
|
9920
|
+
# * To allow your agent to request the user for additional information
|
9921
|
+
# when trying to complete a task, set this field to
|
9922
|
+
# `AMAZON.UserInput`.
|
9923
|
+
#
|
9924
|
+
# * To allow your agent to generate, run, and troubleshoot code when
|
9925
|
+
# trying to complete a task, set this field to
|
9926
|
+
# `AMAZON.CodeInterpreter`.
|
9927
|
+
#
|
9928
|
+
# * To allow your agent to use an Anthropic computer use tool, specify
|
9929
|
+
# one of the following values.
|
9930
|
+
#
|
9931
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
9932
|
+
# available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet
|
9933
|
+
# v2 only. When operating computer use functionality, we recommend
|
9934
|
+
# taking additional security precautions, such as executing computer
|
9935
|
+
# actions in virtual environments with restricted data access and
|
9936
|
+
# limited internet connectivity. For more information, see
|
9937
|
+
# [Configure an Amazon Bedrock Agent to complete tasks with computer
|
9938
|
+
# use tools][1].
|
9939
|
+
#
|
9940
|
+
# * `ANTHROPIC.Computer` - Gives the agent permission to use the
|
9941
|
+
# mouse and keyboard and take screenshots.
|
9942
|
+
#
|
9943
|
+
# * `ANTHROPIC.TextEditor` - Gives the agent permission to view,
|
9944
|
+
# create and edit files.
|
9945
|
+
#
|
9946
|
+
# * `ANTHROPIC.Bash` - Gives the agent permission to run commands in
|
9947
|
+
# a bash shell.
|
9756
9948
|
#
|
9757
9949
|
# During orchestration, if your agent determines that it needs to
|
9758
9950
|
# invoke an API in an action group, but doesn't have enough
|
9759
9951
|
# information to complete the API request, it will invoke this action
|
9760
|
-
# group instead and return an [Observation][
|
9952
|
+
# group instead and return an [Observation][2] reprompting the user
|
9761
9953
|
# for more information.
|
9762
9954
|
#
|
9763
9955
|
#
|
9764
9956
|
#
|
9765
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/
|
9957
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
9958
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
|
9766
9959
|
# @return [String]
|
9767
9960
|
#
|
9961
|
+
# @!attribute [rw] parent_action_group_signature_params
|
9962
|
+
# The configuration settings for a computer use action.
|
9963
|
+
#
|
9964
|
+
# Computer use is a new Anthropic Claude model capability (in beta)
|
9965
|
+
# available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more
|
9966
|
+
# information, see [Configure an Amazon Bedrock Agent to complete
|
9967
|
+
# tasks with computer use tools][1].
|
9968
|
+
#
|
9969
|
+
#
|
9970
|
+
#
|
9971
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
|
9972
|
+
# @return [Hash<String,String>]
|
9973
|
+
#
|
9768
9974
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentActionGroupRequest AWS API Documentation
|
9769
9975
|
#
|
9770
9976
|
class UpdateAgentActionGroupRequest < Struct.new(
|
@@ -9777,7 +9983,8 @@ module Aws::BedrockAgent
|
|
9777
9983
|
:api_schema,
|
9778
9984
|
:description,
|
9779
9985
|
:function_schema,
|
9780
|
-
:parent_action_group_signature
|
9986
|
+
:parent_action_group_signature,
|
9987
|
+
:parent_action_group_signature_params)
|
9781
9988
|
SENSITIVE = []
|
9782
9989
|
include Aws::Structure
|
9783
9990
|
end
|
@@ -10595,6 +10802,11 @@ module Aws::BedrockAgent
|
|
10595
10802
|
# when the knowledge base that it belongs to is queried.
|
10596
10803
|
# @return [Types::ChunkingConfiguration]
|
10597
10804
|
#
|
10805
|
+
# @!attribute [rw] context_enrichment_configuration
|
10806
|
+
# The context enrichment configuration used for ingestion of the data
|
10807
|
+
# into the vector store.
|
10808
|
+
# @return [Types::ContextEnrichmentConfiguration]
|
10809
|
+
#
|
10598
10810
|
# @!attribute [rw] custom_transformation_configuration
|
10599
10811
|
# A custom document transformer for parsed data source documents.
|
10600
10812
|
# @return [Types::CustomTransformationConfiguration]
|
@@ -10609,6 +10821,7 @@ module Aws::BedrockAgent
|
|
10609
10821
|
#
|
10610
10822
|
class VectorIngestionConfiguration < Struct.new(
|
10611
10823
|
:chunking_configuration,
|
10824
|
+
:context_enrichment_configuration,
|
10612
10825
|
:custom_transformation_configuration,
|
10613
10826
|
:parsing_configuration)
|
10614
10827
|
SENSITIVE = []
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -204,7 +204,8 @@ module Aws
|
|
204
204
|
},
|
205
205
|
]?
|
206
206
|
},
|
207
|
-
?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
207
|
+
?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor"),
|
208
|
+
?parent_action_group_signature_params: Hash[::String, ::String]
|
208
209
|
) -> _CreateAgentActionGroupResponseSuccess
|
209
210
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentActionGroupResponseSuccess
|
210
211
|
|
@@ -360,6 +361,15 @@ module Aws
|
|
360
361
|
max_tokens: ::Integer
|
361
362
|
}?
|
362
363
|
}?,
|
364
|
+
context_enrichment_configuration: {
|
365
|
+
bedrock_foundation_model_configuration: {
|
366
|
+
enrichment_strategy_configuration: {
|
367
|
+
method: ("CHUNK_ENTITY_EXTRACTION")
|
368
|
+
},
|
369
|
+
model_arn: ::String
|
370
|
+
}?,
|
371
|
+
type: ("BEDROCK_FOUNDATION_MODEL")
|
372
|
+
}?,
|
363
373
|
custom_transformation_configuration: {
|
364
374
|
intermediate_storage: {
|
365
375
|
s3_location: {
|
@@ -754,6 +764,13 @@ module Aws
|
|
754
764
|
},
|
755
765
|
vector_index_name: ::String
|
756
766
|
}?,
|
767
|
+
neptune_analytics_configuration: {
|
768
|
+
field_mapping: {
|
769
|
+
metadata_field: ::String,
|
770
|
+
text_field: ::String
|
771
|
+
},
|
772
|
+
graph_arn: ::String
|
773
|
+
}?,
|
757
774
|
opensearch_serverless_configuration: {
|
758
775
|
collection_arn: ::String,
|
759
776
|
field_mapping: {
|
@@ -794,7 +811,7 @@ module Aws
|
|
794
811
|
},
|
795
812
|
vector_index_name: ::String
|
796
813
|
}?,
|
797
|
-
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
|
814
|
+
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS")
|
798
815
|
},
|
799
816
|
?tags: Hash[::String, ::String]
|
800
817
|
) -> _CreateKnowledgeBaseResponseSuccess
|
@@ -1742,7 +1759,8 @@ module Aws
|
|
1742
1759
|
},
|
1743
1760
|
]?
|
1744
1761
|
},
|
1745
|
-
?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
1762
|
+
?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor"),
|
1763
|
+
?parent_action_group_signature_params: Hash[::String, ::String]
|
1746
1764
|
) -> _UpdateAgentActionGroupResponseSuccess
|
1747
1765
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentActionGroupResponseSuccess
|
1748
1766
|
|
@@ -1929,6 +1947,15 @@ module Aws
|
|
1929
1947
|
max_tokens: ::Integer
|
1930
1948
|
}?
|
1931
1949
|
}?,
|
1950
|
+
context_enrichment_configuration: {
|
1951
|
+
bedrock_foundation_model_configuration: {
|
1952
|
+
enrichment_strategy_configuration: {
|
1953
|
+
method: ("CHUNK_ENTITY_EXTRACTION")
|
1954
|
+
},
|
1955
|
+
model_arn: ::String
|
1956
|
+
}?,
|
1957
|
+
type: ("BEDROCK_FOUNDATION_MODEL")
|
1958
|
+
}?,
|
1932
1959
|
custom_transformation_configuration: {
|
1933
1960
|
intermediate_storage: {
|
1934
1961
|
s3_location: {
|
@@ -2300,6 +2327,13 @@ module Aws
|
|
2300
2327
|
},
|
2301
2328
|
vector_index_name: ::String
|
2302
2329
|
}?,
|
2330
|
+
neptune_analytics_configuration: {
|
2331
|
+
field_mapping: {
|
2332
|
+
metadata_field: ::String,
|
2333
|
+
text_field: ::String
|
2334
|
+
},
|
2335
|
+
graph_arn: ::String
|
2336
|
+
}?,
|
2303
2337
|
opensearch_serverless_configuration: {
|
2304
2338
|
collection_arn: ::String,
|
2305
2339
|
field_mapping: {
|
@@ -2340,7 +2374,7 @@ module Aws
|
|
2340
2374
|
},
|
2341
2375
|
vector_index_name: ::String
|
2342
2376
|
}?,
|
2343
|
-
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
|
2377
|
+
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS")
|
2344
2378
|
}
|
2345
2379
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
2346
2380
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -89,7 +89,8 @@ module Aws::BedrockAgent
|
|
89
89
|
attr_accessor created_at: ::Time
|
90
90
|
attr_accessor description: ::String
|
91
91
|
attr_accessor function_schema: Types::FunctionSchema
|
92
|
-
attr_accessor
|
92
|
+
attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
|
93
|
+
attr_accessor parent_action_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
|
93
94
|
attr_accessor updated_at: ::Time
|
94
95
|
SENSITIVE: []
|
95
96
|
end
|
@@ -289,6 +290,12 @@ module Aws::BedrockAgent
|
|
289
290
|
SENSITIVE: []
|
290
291
|
end
|
291
292
|
|
293
|
+
class BedrockFoundationModelContextEnrichmentConfiguration
|
294
|
+
attr_accessor enrichment_strategy_configuration: Types::EnrichmentStrategyConfiguration
|
295
|
+
attr_accessor model_arn: ::String
|
296
|
+
SENSITIVE: []
|
297
|
+
end
|
298
|
+
|
292
299
|
class ByteContentDoc
|
293
300
|
attr_accessor data: ::String
|
294
301
|
attr_accessor mime_type: ::String
|
@@ -362,6 +369,12 @@ module Aws::BedrockAgent
|
|
362
369
|
end
|
363
370
|
end
|
364
371
|
|
372
|
+
class ContextEnrichmentConfiguration
|
373
|
+
attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelContextEnrichmentConfiguration
|
374
|
+
attr_accessor type: ("BEDROCK_FOUNDATION_MODEL")
|
375
|
+
SENSITIVE: []
|
376
|
+
end
|
377
|
+
|
365
378
|
class CrawlFilterConfiguration
|
366
379
|
attr_accessor pattern_object_filter: Types::PatternObjectFilterConfiguration
|
367
380
|
attr_accessor type: ("PATTERN")
|
@@ -378,7 +391,8 @@ module Aws::BedrockAgent
|
|
378
391
|
attr_accessor client_token: ::String
|
379
392
|
attr_accessor description: ::String
|
380
393
|
attr_accessor function_schema: Types::FunctionSchema
|
381
|
-
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
394
|
+
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
|
395
|
+
attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
|
382
396
|
SENSITIVE: []
|
383
397
|
end
|
384
398
|
|
@@ -845,6 +859,11 @@ module Aws::BedrockAgent
|
|
845
859
|
SENSITIVE: []
|
846
860
|
end
|
847
861
|
|
862
|
+
class EnrichmentStrategyConfiguration
|
863
|
+
attr_accessor method: ("CHUNK_ENTITY_EXTRACTION")
|
864
|
+
SENSITIVE: []
|
865
|
+
end
|
866
|
+
|
848
867
|
class FixedSizeChunkingConfiguration
|
849
868
|
attr_accessor max_tokens: ::Integer
|
850
869
|
attr_accessor overlap_percentage: ::Integer
|
@@ -1805,6 +1824,18 @@ module Aws::BedrockAgent
|
|
1805
1824
|
SENSITIVE: []
|
1806
1825
|
end
|
1807
1826
|
|
1827
|
+
class NeptuneAnalyticsConfiguration
|
1828
|
+
attr_accessor field_mapping: Types::NeptuneAnalyticsFieldMapping
|
1829
|
+
attr_accessor graph_arn: ::String
|
1830
|
+
SENSITIVE: [:graph_arn]
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
class NeptuneAnalyticsFieldMapping
|
1834
|
+
attr_accessor metadata_field: ::String
|
1835
|
+
attr_accessor text_field: ::String
|
1836
|
+
SENSITIVE: []
|
1837
|
+
end
|
1838
|
+
|
1808
1839
|
class OpenSearchServerlessConfiguration
|
1809
1840
|
attr_accessor collection_arn: ::String
|
1810
1841
|
attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
|
@@ -2305,11 +2336,12 @@ module Aws::BedrockAgent
|
|
2305
2336
|
|
2306
2337
|
class StorageConfiguration
|
2307
2338
|
attr_accessor mongo_db_atlas_configuration: Types::MongoDbAtlasConfiguration
|
2339
|
+
attr_accessor neptune_analytics_configuration: Types::NeptuneAnalyticsConfiguration
|
2308
2340
|
attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
|
2309
2341
|
attr_accessor pinecone_configuration: Types::PineconeConfiguration
|
2310
2342
|
attr_accessor rds_configuration: Types::RdsConfiguration
|
2311
2343
|
attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
|
2312
|
-
attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
|
2344
|
+
attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS")
|
2313
2345
|
SENSITIVE: []
|
2314
2346
|
end
|
2315
2347
|
|
@@ -2531,7 +2563,8 @@ module Aws::BedrockAgent
|
|
2531
2563
|
attr_accessor api_schema: Types::APISchema
|
2532
2564
|
attr_accessor description: ::String
|
2533
2565
|
attr_accessor function_schema: Types::FunctionSchema
|
2534
|
-
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
2566
|
+
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
|
2567
|
+
attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
|
2535
2568
|
SENSITIVE: []
|
2536
2569
|
end
|
2537
2570
|
|
@@ -2738,6 +2771,7 @@ module Aws::BedrockAgent
|
|
2738
2771
|
|
2739
2772
|
class VectorIngestionConfiguration
|
2740
2773
|
attr_accessor chunking_configuration: Types::ChunkingConfiguration
|
2774
|
+
attr_accessor context_enrichment_configuration: Types::ContextEnrichmentConfiguration
|
2741
2775
|
attr_accessor custom_transformation_configuration: Types::CustomTransformationConfiguration
|
2742
2776
|
attr_accessor parsing_configuration: Types::ParsingConfiguration
|
2743
2777
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.51.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-
|
11
|
+
date: 2025-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|