aws-sdk-bedrockagent 1.49.0 → 1.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83d9a93ad2541b7738095a0af9ceef1150d9a711effd0d998b902f05bdeedc2f
4
- data.tar.gz: e8289989f37bb59f53b723cd27ab0e25d6afe8def9848cff8042c288c40ba340
3
+ metadata.gz: 4f224138d7bff4d88ec9bce10ded84f14b9c7dfb2cd93328bfc73b2da79c7c4f
4
+ data.tar.gz: 8c5fd2eecb7fd3463c6260ca2fab75e2a3a138ca5ffdb9dcbcd1571549b8c009
5
5
  SHA512:
6
- metadata.gz: 7eac7beea7b38d10b52b09b7f572877d87df12e0b4c07e346fc516597f45b0d2ab287ce0970c24dcae8957355e420f2311f599a996370a612ddecc27d8406b2c
7
- data.tar.gz: 2c2adb40e3eaeb7d2e4f311a314464aebbb7a2628219ada32ae842adc7f6d5a64c3e0b897a33f4bfe2a6ad96c20f74456f9e35092edb58122adb086fc3398c18
6
+ metadata.gz: 13d01fc60761edd0fa884ffc99f279a2741a185d97e623cb7ba3cd2a9d339201591c0982749566d82edf44b018f93253ea5edc62b1ca217ee220f819eac64778
7
+ data.tar.gz: e3d6d332f19279ea221ec7628ff6d6c7d4260059f7ad408058e468e70fb8f1d092a9a6fbb016a157f57b022b7d00f2fd294b969fabbccbf6110658507579d93d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2025-03-07)
5
+ ------------------
6
+
7
+ * Feature - Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG.
8
+
4
9
  1.49.0 (2025-02-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -1301,6 +1301,15 @@ module Aws::BedrockAgent
1301
1301
  # max_tokens: 1, # required
1302
1302
  # },
1303
1303
  # },
1304
+ # context_enrichment_configuration: {
1305
+ # bedrock_foundation_model_configuration: {
1306
+ # enrichment_strategy_configuration: { # required
1307
+ # method: "CHUNK_ENTITY_EXTRACTION", # required, accepts CHUNK_ENTITY_EXTRACTION
1308
+ # },
1309
+ # model_arn: "BedrockModelArn", # required
1310
+ # },
1311
+ # type: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
1312
+ # },
1304
1313
  # custom_transformation_configuration: {
1305
1314
  # intermediate_storage: { # required
1306
1315
  # s3_location: { # required
@@ -1407,6 +1416,9 @@ module Aws::BedrockAgent
1407
1416
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.breakpoint_percentile_threshold #=> Integer
1408
1417
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.buffer_size #=> Integer
1409
1418
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.max_tokens #=> Integer
1419
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.enrichment_strategy_configuration.method #=> String, one of "CHUNK_ENTITY_EXTRACTION"
1420
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.model_arn #=> String
1421
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.type #=> String, one of "BEDROCK_FOUNDATION_MODEL"
1410
1422
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.intermediate_storage.s3_location.uri #=> String
1411
1423
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
1412
1424
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
@@ -2179,6 +2191,13 @@ module Aws::BedrockAgent
2179
2191
  # },
2180
2192
  # vector_index_name: "MongoDbAtlasIndexName", # required
2181
2193
  # },
2194
+ # neptune_analytics_configuration: {
2195
+ # field_mapping: { # required
2196
+ # metadata_field: "FieldName", # required
2197
+ # text_field: "FieldName", # required
2198
+ # },
2199
+ # graph_arn: "GraphArn", # required
2200
+ # },
2182
2201
  # opensearch_serverless_configuration: {
2183
2202
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
2184
2203
  # field_mapping: { # required
@@ -2219,7 +2238,7 @@ module Aws::BedrockAgent
2219
2238
  # },
2220
2239
  # vector_index_name: "RedisEnterpriseCloudIndexName", # required
2221
2240
  # },
2222
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
2241
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS, NEPTUNE_ANALYTICS
2223
2242
  # },
2224
2243
  # tags: {
2225
2244
  # "TagKey" => "TagValue",
@@ -2280,6 +2299,9 @@ module Aws::BedrockAgent
2280
2299
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
2281
2300
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
2282
2301
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
2302
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
2303
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
2304
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.graph_arn #=> String
2283
2305
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
2284
2306
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
2285
2307
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -2304,7 +2326,7 @@ module Aws::BedrockAgent
2304
2326
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
2305
2327
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
2306
2328
  # 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"
2329
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS"
2308
2330
  # resp.knowledge_base.updated_at #=> Time
2309
2331
  #
2310
2332
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
@@ -3600,6 +3622,9 @@ module Aws::BedrockAgent
3600
3622
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.breakpoint_percentile_threshold #=> Integer
3601
3623
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.buffer_size #=> Integer
3602
3624
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.max_tokens #=> Integer
3625
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.enrichment_strategy_configuration.method #=> String, one of "CHUNK_ENTITY_EXTRACTION"
3626
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.model_arn #=> String
3627
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.type #=> String, one of "BEDROCK_FOUNDATION_MODEL"
3603
3628
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.intermediate_storage.s3_location.uri #=> String
3604
3629
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
3605
3630
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
@@ -4069,6 +4094,9 @@ module Aws::BedrockAgent
4069
4094
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
4070
4095
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
4071
4096
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
4097
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
4098
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
4099
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.graph_arn #=> String
4072
4100
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
4073
4101
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
4074
4102
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -4093,7 +4121,7 @@ module Aws::BedrockAgent
4093
4121
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
4094
4122
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
4095
4123
  # 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"
4124
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS"
4097
4125
  # resp.knowledge_base.updated_at #=> Time
4098
4126
  #
4099
4127
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
@@ -6173,6 +6201,15 @@ module Aws::BedrockAgent
6173
6201
  # max_tokens: 1, # required
6174
6202
  # },
6175
6203
  # },
6204
+ # context_enrichment_configuration: {
6205
+ # bedrock_foundation_model_configuration: {
6206
+ # enrichment_strategy_configuration: { # required
6207
+ # method: "CHUNK_ENTITY_EXTRACTION", # required, accepts CHUNK_ENTITY_EXTRACTION
6208
+ # },
6209
+ # model_arn: "BedrockModelArn", # required
6210
+ # },
6211
+ # type: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL
6212
+ # },
6176
6213
  # custom_transformation_configuration: {
6177
6214
  # intermediate_storage: { # required
6178
6215
  # s3_location: { # required
@@ -6279,6 +6316,9 @@ module Aws::BedrockAgent
6279
6316
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.breakpoint_percentile_threshold #=> Integer
6280
6317
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.buffer_size #=> Integer
6281
6318
  # resp.data_source.vector_ingestion_configuration.chunking_configuration.semantic_chunking_configuration.max_tokens #=> Integer
6319
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.enrichment_strategy_configuration.method #=> String, one of "CHUNK_ENTITY_EXTRACTION"
6320
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.bedrock_foundation_model_configuration.model_arn #=> String
6321
+ # resp.data_source.vector_ingestion_configuration.context_enrichment_configuration.type #=> String, one of "BEDROCK_FOUNDATION_MODEL"
6282
6322
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.intermediate_storage.s3_location.uri #=> String
6283
6323
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
6284
6324
  # resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
@@ -6841,6 +6881,13 @@ module Aws::BedrockAgent
6841
6881
  # },
6842
6882
  # vector_index_name: "MongoDbAtlasIndexName", # required
6843
6883
  # },
6884
+ # neptune_analytics_configuration: {
6885
+ # field_mapping: { # required
6886
+ # metadata_field: "FieldName", # required
6887
+ # text_field: "FieldName", # required
6888
+ # },
6889
+ # graph_arn: "GraphArn", # required
6890
+ # },
6844
6891
  # opensearch_serverless_configuration: {
6845
6892
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
6846
6893
  # field_mapping: { # required
@@ -6881,7 +6928,7 @@ module Aws::BedrockAgent
6881
6928
  # },
6882
6929
  # vector_index_name: "RedisEnterpriseCloudIndexName", # required
6883
6930
  # },
6884
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
6931
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS, NEPTUNE_ANALYTICS
6885
6932
  # },
6886
6933
  # })
6887
6934
  #
@@ -6939,6 +6986,9 @@ module Aws::BedrockAgent
6939
6986
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
6940
6987
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
6941
6988
  # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
6989
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
6990
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
6991
+ # resp.knowledge_base.storage_configuration.neptune_analytics_configuration.graph_arn #=> String
6942
6992
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
6943
6993
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
6944
6994
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -6963,7 +7013,7 @@ module Aws::BedrockAgent
6963
7013
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
6964
7014
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
6965
7015
  # 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"
7016
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS"
6967
7017
  # resp.knowledge_base.updated_at #=> Time
6968
7018
  #
6969
7019
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
@@ -7448,7 +7498,7 @@ module Aws::BedrockAgent
7448
7498
  tracer: tracer
7449
7499
  )
7450
7500
  context[:gem_name] = 'aws-sdk-bedrockagent'
7451
- context[:gem_version] = '1.49.0'
7501
+ context[:gem_version] = '1.50.0'
7452
7502
  Seahorse::Client::Request.new(handlers, context)
7453
7503
  end
7454
7504
 
@@ -63,6 +63,7 @@ module Aws::BedrockAgent
63
63
  BedrockEmbeddingModelArn = Shapes::StringShape.new(name: 'BedrockEmbeddingModelArn')
64
64
  BedrockEmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'BedrockEmbeddingModelConfiguration')
65
65
  BedrockFoundationModelConfiguration = Shapes::StructureShape.new(name: 'BedrockFoundationModelConfiguration')
66
+ BedrockFoundationModelContextEnrichmentConfiguration = Shapes::StructureShape.new(name: 'BedrockFoundationModelContextEnrichmentConfiguration')
66
67
  BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
67
68
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
68
69
  BucketOwnerAccountId = Shapes::StringShape.new(name: 'BucketOwnerAccountId')
@@ -88,6 +89,8 @@ module Aws::BedrockAgent
88
89
  ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
89
90
  ContentBlocks = Shapes::ListShape.new(name: 'ContentBlocks')
90
91
  ContentDataSourceType = Shapes::StringShape.new(name: 'ContentDataSourceType')
92
+ ContextEnrichmentConfiguration = Shapes::StructureShape.new(name: 'ContextEnrichmentConfiguration')
93
+ ContextEnrichmentType = Shapes::StringShape.new(name: 'ContextEnrichmentType')
91
94
  ConversationRole = Shapes::StringShape.new(name: 'ConversationRole')
92
95
  CrawlFilterConfiguration = Shapes::StructureShape.new(name: 'CrawlFilterConfiguration')
93
96
  CrawlFilterConfigurationType = Shapes::StringShape.new(name: 'CrawlFilterConfigurationType')
@@ -174,6 +177,8 @@ module Aws::BedrockAgent
174
177
  EmbeddingDataType = Shapes::StringShape.new(name: 'EmbeddingDataType')
175
178
  EmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'EmbeddingModelConfiguration')
176
179
  EnabledMemoryTypes = Shapes::ListShape.new(name: 'EnabledMemoryTypes')
180
+ EnrichmentStrategyConfiguration = Shapes::StructureShape.new(name: 'EnrichmentStrategyConfiguration')
181
+ EnrichmentStrategyMethod = Shapes::StringShape.new(name: 'EnrichmentStrategyMethod')
177
182
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
178
183
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
179
184
  FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
@@ -264,6 +269,7 @@ module Aws::BedrockAgent
264
269
  GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
265
270
  GetPromptRequest = Shapes::StructureShape.new(name: 'GetPromptRequest')
266
271
  GetPromptResponse = Shapes::StructureShape.new(name: 'GetPromptResponse')
272
+ GraphArn = Shapes::StringShape.new(name: 'GraphArn')
267
273
  GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
268
274
  GuardrailIdentifier = Shapes::StringShape.new(name: 'GuardrailIdentifier')
269
275
  GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
@@ -390,6 +396,8 @@ module Aws::BedrockAgent
390
396
  MultipleNodeInputConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'MultipleNodeInputConnectionsFlowValidationDetails')
391
397
  Name = Shapes::StringShape.new(name: 'Name')
392
398
  NaturalLanguageString = Shapes::StringShape.new(name: 'NaturalLanguageString')
399
+ NeptuneAnalyticsConfiguration = Shapes::StructureShape.new(name: 'NeptuneAnalyticsConfiguration')
400
+ NeptuneAnalyticsFieldMapping = Shapes::StructureShape.new(name: 'NeptuneAnalyticsFieldMapping')
393
401
  NextToken = Shapes::StringShape.new(name: 'NextToken')
394
402
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
395
403
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
@@ -873,6 +881,10 @@ module Aws::BedrockAgent
873
881
  BedrockFoundationModelConfiguration.add_member(:parsing_prompt, Shapes::ShapeRef.new(shape: ParsingPrompt, location_name: "parsingPrompt"))
874
882
  BedrockFoundationModelConfiguration.struct_class = Types::BedrockFoundationModelConfiguration
875
883
 
884
+ BedrockFoundationModelContextEnrichmentConfiguration.add_member(:enrichment_strategy_configuration, Shapes::ShapeRef.new(shape: EnrichmentStrategyConfiguration, required: true, location_name: "enrichmentStrategyConfiguration"))
885
+ BedrockFoundationModelContextEnrichmentConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
886
+ BedrockFoundationModelContextEnrichmentConfiguration.struct_class = Types::BedrockFoundationModelContextEnrichmentConfiguration
887
+
876
888
  ByteContentDoc.add_member(:data, Shapes::ShapeRef.new(shape: ByteContentBlob, required: true, location_name: "data"))
877
889
  ByteContentDoc.add_member(:mime_type, Shapes::ShapeRef.new(shape: ByteContentDocMimeTypeString, required: true, location_name: "mimeType"))
878
890
  ByteContentDoc.struct_class = Types::ByteContentDoc
@@ -923,6 +935,10 @@ module Aws::BedrockAgent
923
935
 
924
936
  ContentBlocks.member = Shapes::ShapeRef.new(shape: ContentBlock)
925
937
 
938
+ ContextEnrichmentConfiguration.add_member(:bedrock_foundation_model_configuration, Shapes::ShapeRef.new(shape: BedrockFoundationModelContextEnrichmentConfiguration, location_name: "bedrockFoundationModelConfiguration"))
939
+ ContextEnrichmentConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ContextEnrichmentType, required: true, location_name: "type"))
940
+ ContextEnrichmentConfiguration.struct_class = Types::ContextEnrichmentConfiguration
941
+
926
942
  CrawlFilterConfiguration.add_member(:pattern_object_filter, Shapes::ShapeRef.new(shape: PatternObjectFilterConfiguration, location_name: "patternObjectFilter"))
927
943
  CrawlFilterConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: CrawlFilterConfigurationType, required: true, location_name: "type"))
928
944
  CrawlFilterConfiguration.struct_class = Types::CrawlFilterConfiguration
@@ -1293,6 +1309,9 @@ module Aws::BedrockAgent
1293
1309
 
1294
1310
  EnabledMemoryTypes.member = Shapes::ShapeRef.new(shape: MemoryType)
1295
1311
 
1312
+ EnrichmentStrategyConfiguration.add_member(:method, Shapes::ShapeRef.new(shape: EnrichmentStrategyMethod, required: true, location_name: "method"))
1313
+ EnrichmentStrategyConfiguration.struct_class = Types::EnrichmentStrategyConfiguration
1314
+
1296
1315
  FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
1297
1316
 
1298
1317
  FilterList.member = Shapes::ShapeRef.new(shape: FilterPattern)
@@ -2009,6 +2028,14 @@ module Aws::BedrockAgent
2009
2028
  MultipleNodeInputConnectionsFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
2010
2029
  MultipleNodeInputConnectionsFlowValidationDetails.struct_class = Types::MultipleNodeInputConnectionsFlowValidationDetails
2011
2030
 
2031
+ NeptuneAnalyticsConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: NeptuneAnalyticsFieldMapping, required: true, location_name: "fieldMapping"))
2032
+ NeptuneAnalyticsConfiguration.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "graphArn"))
2033
+ NeptuneAnalyticsConfiguration.struct_class = Types::NeptuneAnalyticsConfiguration
2034
+
2035
+ NeptuneAnalyticsFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
2036
+ NeptuneAnalyticsFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
2037
+ NeptuneAnalyticsFieldMapping.struct_class = Types::NeptuneAnalyticsFieldMapping
2038
+
2012
2039
  OpenSearchServerlessConfiguration.add_member(:collection_arn, Shapes::ShapeRef.new(shape: OpenSearchServerlessCollectionArn, required: true, location_name: "collectionArn"))
2013
2040
  OpenSearchServerlessConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: OpenSearchServerlessFieldMapping, required: true, location_name: "fieldMapping"))
2014
2041
  OpenSearchServerlessConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: OpenSearchServerlessIndexName, required: true, location_name: "vectorIndexName"))
@@ -2376,6 +2403,7 @@ module Aws::BedrockAgent
2376
2403
  StopSequences.member = Shapes::ShapeRef.new(shape: String)
2377
2404
 
2378
2405
  StorageConfiguration.add_member(:mongo_db_atlas_configuration, Shapes::ShapeRef.new(shape: MongoDbAtlasConfiguration, location_name: "mongoDbAtlasConfiguration"))
2406
+ StorageConfiguration.add_member(:neptune_analytics_configuration, Shapes::ShapeRef.new(shape: NeptuneAnalyticsConfiguration, location_name: "neptuneAnalyticsConfiguration"))
2379
2407
  StorageConfiguration.add_member(:opensearch_serverless_configuration, Shapes::ShapeRef.new(shape: OpenSearchServerlessConfiguration, location_name: "opensearchServerlessConfiguration"))
2380
2408
  StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
2381
2409
  StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
@@ -2692,6 +2720,7 @@ module Aws::BedrockAgent
2692
2720
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
2693
2721
 
2694
2722
  VectorIngestionConfiguration.add_member(:chunking_configuration, Shapes::ShapeRef.new(shape: ChunkingConfiguration, location_name: "chunkingConfiguration"))
2723
+ VectorIngestionConfiguration.add_member(:context_enrichment_configuration, Shapes::ShapeRef.new(shape: ContextEnrichmentConfiguration, location_name: "contextEnrichmentConfiguration"))
2695
2724
  VectorIngestionConfiguration.add_member(:custom_transformation_configuration, Shapes::ShapeRef.new(shape: CustomTransformationConfiguration, location_name: "customTransformationConfiguration"))
2696
2725
  VectorIngestionConfiguration.add_member(:parsing_configuration, Shapes::ShapeRef.new(shape: ParsingConfiguration, location_name: "parsingConfiguration"))
2697
2726
  VectorIngestionConfiguration.struct_class = Types::VectorIngestionConfiguration
@@ -1257,6 +1257,29 @@ module Aws::BedrockAgent
1257
1257
  include Aws::Structure
1258
1258
  end
1259
1259
 
1260
+ # Context enrichment configuration is used to provide additional context
1261
+ # to the RAG application using Amazon Bedrock foundation models.
1262
+ #
1263
+ # @!attribute [rw] enrichment_strategy_configuration
1264
+ # The enrichment stategy used to provide additional context. For
1265
+ # example, Neptune GraphRAG uses Amazon Bedrock foundation models to
1266
+ # perform chunk entity extraction.
1267
+ # @return [Types::EnrichmentStrategyConfiguration]
1268
+ #
1269
+ # @!attribute [rw] model_arn
1270
+ # The Amazon Resource Name (ARN) of the foundation model used for
1271
+ # context enrichment.
1272
+ # @return [String]
1273
+ #
1274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockFoundationModelContextEnrichmentConfiguration AWS API Documentation
1275
+ #
1276
+ class BedrockFoundationModelContextEnrichmentConfiguration < Struct.new(
1277
+ :enrichment_strategy_configuration,
1278
+ :model_arn)
1279
+ SENSITIVE = []
1280
+ include Aws::Structure
1281
+ end
1282
+
1260
1283
  # Contains information about content defined inline in bytes.
1261
1284
  #
1262
1285
  # @!attribute [rw] data
@@ -1592,6 +1615,28 @@ module Aws::BedrockAgent
1592
1615
  class Unknown < ContentBlock; end
1593
1616
  end
1594
1617
 
1618
+ # Context enrichment configuration is used to provide additional context
1619
+ # to the RAG application.
1620
+ #
1621
+ # @!attribute [rw] bedrock_foundation_model_configuration
1622
+ # The configuration of the Amazon Bedrock foundation model used for
1623
+ # context enrichment.
1624
+ # @return [Types::BedrockFoundationModelContextEnrichmentConfiguration]
1625
+ #
1626
+ # @!attribute [rw] type
1627
+ # The method used for context enrichment. It must be Amazon Bedrock
1628
+ # foundation models.
1629
+ # @return [String]
1630
+ #
1631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ContextEnrichmentConfiguration AWS API Documentation
1632
+ #
1633
+ class ContextEnrichmentConfiguration < Struct.new(
1634
+ :bedrock_foundation_model_configuration,
1635
+ :type)
1636
+ SENSITIVE = []
1637
+ include Aws::Structure
1638
+ end
1639
+
1595
1640
  # The configuration of filtering the data source content. For example,
1596
1641
  # configuring regular expression patterns to include or exclude certain
1597
1642
  # content.
@@ -3606,6 +3651,20 @@ module Aws::BedrockAgent
3606
3651
  include Aws::Structure
3607
3652
  end
3608
3653
 
3654
+ # The strategy used for performing context enrichment.
3655
+ #
3656
+ # @!attribute [rw] method
3657
+ # The method used for the context enrichment strategy.
3658
+ # @return [String]
3659
+ #
3660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/EnrichmentStrategyConfiguration AWS API Documentation
3661
+ #
3662
+ class EnrichmentStrategyConfiguration < Struct.new(
3663
+ :method)
3664
+ SENSITIVE = []
3665
+ include Aws::Structure
3666
+ end
3667
+
3609
3668
  # Configurations for when you choose fixed-size chunking. If you set the
3610
3669
  # `chunkingStrategy` as `NONE`, exclude this field.
3611
3670
  #
@@ -7088,6 +7147,56 @@ module Aws::BedrockAgent
7088
7147
  include Aws::Structure
7089
7148
  end
7090
7149
 
7150
+ # Contains details about the storage configuration of the knowledge base
7151
+ # in Amazon Neptune Analytics. For more information, see [Create a
7152
+ # vector index in Amazon Neptune Analytics][1].
7153
+ #
7154
+ #
7155
+ #
7156
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html
7157
+ #
7158
+ # @!attribute [rw] field_mapping
7159
+ # Contains the names of the fields to which to map information about
7160
+ # the vector store.
7161
+ # @return [Types::NeptuneAnalyticsFieldMapping]
7162
+ #
7163
+ # @!attribute [rw] graph_arn
7164
+ # The Amazon Resource Name (ARN) of the Neptune Analytics vector
7165
+ # store.
7166
+ # @return [String]
7167
+ #
7168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/NeptuneAnalyticsConfiguration AWS API Documentation
7169
+ #
7170
+ class NeptuneAnalyticsConfiguration < Struct.new(
7171
+ :field_mapping,
7172
+ :graph_arn)
7173
+ SENSITIVE = [:graph_arn]
7174
+ include Aws::Structure
7175
+ end
7176
+
7177
+ # Contains the names of the fields to which to map information about the
7178
+ # vector store.
7179
+ #
7180
+ # @!attribute [rw] metadata_field
7181
+ # The name of the field in which Amazon Bedrock stores metadata about
7182
+ # the vector store.
7183
+ # @return [String]
7184
+ #
7185
+ # @!attribute [rw] text_field
7186
+ # The name of the field in which Amazon Bedrock stores the raw text
7187
+ # from your data. The text is split according to the chunking strategy
7188
+ # you choose.
7189
+ # @return [String]
7190
+ #
7191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/NeptuneAnalyticsFieldMapping AWS API Documentation
7192
+ #
7193
+ class NeptuneAnalyticsFieldMapping < Struct.new(
7194
+ :metadata_field,
7195
+ :text_field)
7196
+ SENSITIVE = []
7197
+ include Aws::Structure
7198
+ end
7199
+
7091
7200
  # Contains details about the storage configuration of the knowledge base
7092
7201
  # in Amazon OpenSearch Service. For more information, see [Create a
7093
7202
  # vector index in Amazon OpenSearch Service][1].
@@ -9050,6 +9159,16 @@ module Aws::BedrockAgent
9050
9159
  # Atlas.
9051
9160
  # @return [Types::MongoDbAtlasConfiguration]
9052
9161
  #
9162
+ # @!attribute [rw] neptune_analytics_configuration
9163
+ # Contains details about the Neptune Analytics configuration of the
9164
+ # knowledge base in Amazon Neptune. For more information, see [Create
9165
+ # a vector index in Amazon Neptune Analytics.][1].
9166
+ #
9167
+ #
9168
+ #
9169
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html
9170
+ # @return [Types::NeptuneAnalyticsConfiguration]
9171
+ #
9053
9172
  # @!attribute [rw] opensearch_serverless_configuration
9054
9173
  # Contains the storage configuration of the knowledge base in Amazon
9055
9174
  # OpenSearch Service.
@@ -9083,6 +9202,7 @@ module Aws::BedrockAgent
9083
9202
  #
9084
9203
  class StorageConfiguration < Struct.new(
9085
9204
  :mongo_db_atlas_configuration,
9205
+ :neptune_analytics_configuration,
9086
9206
  :opensearch_serverless_configuration,
9087
9207
  :pinecone_configuration,
9088
9208
  :rds_configuration,
@@ -10595,6 +10715,11 @@ module Aws::BedrockAgent
10595
10715
  # when the knowledge base that it belongs to is queried.
10596
10716
  # @return [Types::ChunkingConfiguration]
10597
10717
  #
10718
+ # @!attribute [rw] context_enrichment_configuration
10719
+ # The context enrichment configuration used for ingestion of the data
10720
+ # into the vector store.
10721
+ # @return [Types::ContextEnrichmentConfiguration]
10722
+ #
10598
10723
  # @!attribute [rw] custom_transformation_configuration
10599
10724
  # A custom document transformer for parsed data source documents.
10600
10725
  # @return [Types::CustomTransformationConfiguration]
@@ -10609,6 +10734,7 @@ module Aws::BedrockAgent
10609
10734
  #
10610
10735
  class VectorIngestionConfiguration < Struct.new(
10611
10736
  :chunking_configuration,
10737
+ :context_enrichment_configuration,
10612
10738
  :custom_transformation_configuration,
10613
10739
  :parsing_configuration)
10614
10740
  SENSITIVE = []
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.49.0'
57
+ GEM_VERSION = '1.50.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -360,6 +360,15 @@ module Aws
360
360
  max_tokens: ::Integer
361
361
  }?
362
362
  }?,
363
+ context_enrichment_configuration: {
364
+ bedrock_foundation_model_configuration: {
365
+ enrichment_strategy_configuration: {
366
+ method: ("CHUNK_ENTITY_EXTRACTION")
367
+ },
368
+ model_arn: ::String
369
+ }?,
370
+ type: ("BEDROCK_FOUNDATION_MODEL")
371
+ }?,
363
372
  custom_transformation_configuration: {
364
373
  intermediate_storage: {
365
374
  s3_location: {
@@ -754,6 +763,13 @@ module Aws
754
763
  },
755
764
  vector_index_name: ::String
756
765
  }?,
766
+ neptune_analytics_configuration: {
767
+ field_mapping: {
768
+ metadata_field: ::String,
769
+ text_field: ::String
770
+ },
771
+ graph_arn: ::String
772
+ }?,
757
773
  opensearch_serverless_configuration: {
758
774
  collection_arn: ::String,
759
775
  field_mapping: {
@@ -794,7 +810,7 @@ module Aws
794
810
  },
795
811
  vector_index_name: ::String
796
812
  }?,
797
- type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
813
+ type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS")
798
814
  },
799
815
  ?tags: Hash[::String, ::String]
800
816
  ) -> _CreateKnowledgeBaseResponseSuccess
@@ -1929,6 +1945,15 @@ module Aws
1929
1945
  max_tokens: ::Integer
1930
1946
  }?
1931
1947
  }?,
1948
+ context_enrichment_configuration: {
1949
+ bedrock_foundation_model_configuration: {
1950
+ enrichment_strategy_configuration: {
1951
+ method: ("CHUNK_ENTITY_EXTRACTION")
1952
+ },
1953
+ model_arn: ::String
1954
+ }?,
1955
+ type: ("BEDROCK_FOUNDATION_MODEL")
1956
+ }?,
1932
1957
  custom_transformation_configuration: {
1933
1958
  intermediate_storage: {
1934
1959
  s3_location: {
@@ -2300,6 +2325,13 @@ module Aws
2300
2325
  },
2301
2326
  vector_index_name: ::String
2302
2327
  }?,
2328
+ neptune_analytics_configuration: {
2329
+ field_mapping: {
2330
+ metadata_field: ::String,
2331
+ text_field: ::String
2332
+ },
2333
+ graph_arn: ::String
2334
+ }?,
2303
2335
  opensearch_serverless_configuration: {
2304
2336
  collection_arn: ::String,
2305
2337
  field_mapping: {
@@ -2340,7 +2372,7 @@ module Aws
2340
2372
  },
2341
2373
  vector_index_name: ::String
2342
2374
  }?,
2343
- type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
2375
+ type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS")
2344
2376
  }
2345
2377
  ) -> _UpdateKnowledgeBaseResponseSuccess
2346
2378
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
data/sig/types.rbs CHANGED
@@ -289,6 +289,12 @@ module Aws::BedrockAgent
289
289
  SENSITIVE: []
290
290
  end
291
291
 
292
+ class BedrockFoundationModelContextEnrichmentConfiguration
293
+ attr_accessor enrichment_strategy_configuration: Types::EnrichmentStrategyConfiguration
294
+ attr_accessor model_arn: ::String
295
+ SENSITIVE: []
296
+ end
297
+
292
298
  class ByteContentDoc
293
299
  attr_accessor data: ::String
294
300
  attr_accessor mime_type: ::String
@@ -362,6 +368,12 @@ module Aws::BedrockAgent
362
368
  end
363
369
  end
364
370
 
371
+ class ContextEnrichmentConfiguration
372
+ attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelContextEnrichmentConfiguration
373
+ attr_accessor type: ("BEDROCK_FOUNDATION_MODEL")
374
+ SENSITIVE: []
375
+ end
376
+
365
377
  class CrawlFilterConfiguration
366
378
  attr_accessor pattern_object_filter: Types::PatternObjectFilterConfiguration
367
379
  attr_accessor type: ("PATTERN")
@@ -845,6 +857,11 @@ module Aws::BedrockAgent
845
857
  SENSITIVE: []
846
858
  end
847
859
 
860
+ class EnrichmentStrategyConfiguration
861
+ attr_accessor method: ("CHUNK_ENTITY_EXTRACTION")
862
+ SENSITIVE: []
863
+ end
864
+
848
865
  class FixedSizeChunkingConfiguration
849
866
  attr_accessor max_tokens: ::Integer
850
867
  attr_accessor overlap_percentage: ::Integer
@@ -1805,6 +1822,18 @@ module Aws::BedrockAgent
1805
1822
  SENSITIVE: []
1806
1823
  end
1807
1824
 
1825
+ class NeptuneAnalyticsConfiguration
1826
+ attr_accessor field_mapping: Types::NeptuneAnalyticsFieldMapping
1827
+ attr_accessor graph_arn: ::String
1828
+ SENSITIVE: [:graph_arn]
1829
+ end
1830
+
1831
+ class NeptuneAnalyticsFieldMapping
1832
+ attr_accessor metadata_field: ::String
1833
+ attr_accessor text_field: ::String
1834
+ SENSITIVE: []
1835
+ end
1836
+
1808
1837
  class OpenSearchServerlessConfiguration
1809
1838
  attr_accessor collection_arn: ::String
1810
1839
  attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
@@ -2305,11 +2334,12 @@ module Aws::BedrockAgent
2305
2334
 
2306
2335
  class StorageConfiguration
2307
2336
  attr_accessor mongo_db_atlas_configuration: Types::MongoDbAtlasConfiguration
2337
+ attr_accessor neptune_analytics_configuration: Types::NeptuneAnalyticsConfiguration
2308
2338
  attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
2309
2339
  attr_accessor pinecone_configuration: Types::PineconeConfiguration
2310
2340
  attr_accessor rds_configuration: Types::RdsConfiguration
2311
2341
  attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
2312
- attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
2342
+ attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS")
2313
2343
  SENSITIVE: []
2314
2344
  end
2315
2345
 
@@ -2738,6 +2768,7 @@ module Aws::BedrockAgent
2738
2768
 
2739
2769
  class VectorIngestionConfiguration
2740
2770
  attr_accessor chunking_configuration: Types::ChunkingConfiguration
2771
+ attr_accessor context_enrichment_configuration: Types::ContextEnrichmentConfiguration
2741
2772
  attr_accessor custom_transformation_configuration: Types::CustomTransformationConfiguration
2742
2773
  attr_accessor parsing_configuration: Types::ParsingConfiguration
2743
2774
  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.49.0
4
+ version: 1.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-28 00:00:00.000000000 Z
11
+ date: 2025-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core