aws-sdk-bedrock 1.52.0 → 1.54.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.
@@ -283,6 +283,67 @@ module Aws::Bedrock
283
283
  include Aws::Structure
284
284
  end
285
285
 
286
+ # @!attribute [rw] model_deployment_name
287
+ # The name for the custom model deployment. The name must be unique
288
+ # within your Amazon Web Services account and Region.
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] model_arn
292
+ # The Amazon Resource Name (ARN) of the custom model to deploy for
293
+ # on-demand inference. The custom model must be in the `Active` state.
294
+ # @return [String]
295
+ #
296
+ # @!attribute [rw] description
297
+ # A description for the custom model deployment to help you identify
298
+ # its purpose.
299
+ # @return [String]
300
+ #
301
+ # @!attribute [rw] tags
302
+ # Tags to assign to the custom model deployment. You can use tags to
303
+ # organize and track your Amazon Web Services resources for cost
304
+ # allocation and management purposes.
305
+ # @return [Array<Types::Tag>]
306
+ #
307
+ # @!attribute [rw] client_request_token
308
+ # A unique, case-sensitive identifier to ensure that the operation
309
+ # completes no more than one time. If this token matches a previous
310
+ # request, Amazon Bedrock ignores the request, but does not return an
311
+ # error. For more information, see [Ensuring idempotency][1].
312
+ #
313
+ # **A suitable default value is auto-generated.** You should normally
314
+ # not need to pass this option.
315
+ #
316
+ #
317
+ #
318
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-idempotency.html
319
+ # @return [String]
320
+ #
321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateCustomModelDeploymentRequest AWS API Documentation
322
+ #
323
+ class CreateCustomModelDeploymentRequest < Struct.new(
324
+ :model_deployment_name,
325
+ :model_arn,
326
+ :description,
327
+ :tags,
328
+ :client_request_token)
329
+ SENSITIVE = []
330
+ include Aws::Structure
331
+ end
332
+
333
+ # @!attribute [rw] custom_model_deployment_arn
334
+ # The Amazon Resource Name (ARN) of the custom model deployment. Use
335
+ # this ARN as the `modelId` parameter when invoking the model with the
336
+ # `InvokeModel` or `Converse` operations.
337
+ # @return [String]
338
+ #
339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateCustomModelDeploymentResponse AWS API Documentation
340
+ #
341
+ class CreateCustomModelDeploymentResponse < Struct.new(
342
+ :custom_model_deployment_arn)
343
+ SENSITIVE = []
344
+ include Aws::Structure
345
+ end
346
+
286
347
  # @!attribute [rw] model_name
287
348
  # A unique name for the custom model.
288
349
  # @return [String]
@@ -1404,6 +1465,55 @@ module Aws::Bedrock
1404
1465
  include Aws::Structure
1405
1466
  end
1406
1467
 
1468
+ # Contains summary information about a custom model deployment,
1469
+ # including its ARN, name, status, and associated custom model.
1470
+ #
1471
+ # @!attribute [rw] custom_model_deployment_arn
1472
+ # The Amazon Resource Name (ARN) of the custom model deployment.
1473
+ # @return [String]
1474
+ #
1475
+ # @!attribute [rw] custom_model_deployment_name
1476
+ # The name of the custom model deployment.
1477
+ # @return [String]
1478
+ #
1479
+ # @!attribute [rw] model_arn
1480
+ # The Amazon Resource Name (ARN) of the custom model associated with
1481
+ # this deployment.
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] created_at
1485
+ # The date and time when the custom model deployment was created.
1486
+ # @return [Time]
1487
+ #
1488
+ # @!attribute [rw] status
1489
+ # The status of the custom model deployment. Possible values are
1490
+ # `CREATING`, `ACTIVE`, and `FAILED`.
1491
+ # @return [String]
1492
+ #
1493
+ # @!attribute [rw] last_updated_at
1494
+ # The date and time when the custom model deployment was last
1495
+ # modified.
1496
+ # @return [Time]
1497
+ #
1498
+ # @!attribute [rw] failure_message
1499
+ # If the deployment status is `FAILED`, this field contains a message
1500
+ # describing the failure reason.
1501
+ # @return [String]
1502
+ #
1503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelDeploymentSummary AWS API Documentation
1504
+ #
1505
+ class CustomModelDeploymentSummary < Struct.new(
1506
+ :custom_model_deployment_arn,
1507
+ :custom_model_deployment_name,
1508
+ :model_arn,
1509
+ :created_at,
1510
+ :status,
1511
+ :last_updated_at,
1512
+ :failure_message)
1513
+ SENSITIVE = []
1514
+ include Aws::Structure
1515
+ end
1516
+
1407
1517
  # Summary information for a custom model.
1408
1518
  #
1409
1519
  # @!attribute [rw] model_arn
@@ -1543,6 +1653,23 @@ module Aws::Bedrock
1543
1653
  include Aws::Structure
1544
1654
  end
1545
1655
 
1656
+ # @!attribute [rw] custom_model_deployment_identifier
1657
+ # The Amazon Resource Name (ARN) or name of the custom model
1658
+ # deployment to delete.
1659
+ # @return [String]
1660
+ #
1661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModelDeploymentRequest AWS API Documentation
1662
+ #
1663
+ class DeleteCustomModelDeploymentRequest < Struct.new(
1664
+ :custom_model_deployment_identifier)
1665
+ SENSITIVE = []
1666
+ include Aws::Structure
1667
+ end
1668
+
1669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModelDeploymentResponse AWS API Documentation
1670
+ #
1671
+ class DeleteCustomModelDeploymentResponse < Aws::EmptyStructure; end
1672
+
1546
1673
  # @!attribute [rw] model_identifier
1547
1674
  # Name of the model to delete.
1548
1675
  # @return [String]
@@ -2387,6 +2514,24 @@ module Aws::Bedrock
2387
2514
  include Aws::Structure
2388
2515
  end
2389
2516
 
2517
+ # Specifies a field to be used during the reranking process in a
2518
+ # Knowledge Base vector search. This structure identifies metadata
2519
+ # fields that should be considered when reordering search results to
2520
+ # improve relevance.
2521
+ #
2522
+ # @!attribute [rw] field_name
2523
+ # The name of the metadata field to be used during the reranking
2524
+ # process.
2525
+ # @return [String]
2526
+ #
2527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/FieldForReranking AWS API Documentation
2528
+ #
2529
+ class FieldForReranking < Struct.new(
2530
+ :field_name)
2531
+ SENSITIVE = []
2532
+ include Aws::Structure
2533
+ end
2534
+
2390
2535
  # Specifies the name of the metadata attribute/field to apply filters.
2391
2536
  # You must match the name of the attribute/field in your data
2392
2537
  # source/document metadata.
@@ -2579,6 +2724,77 @@ module Aws::Bedrock
2579
2724
  include Aws::Structure
2580
2725
  end
2581
2726
 
2727
+ # @!attribute [rw] custom_model_deployment_identifier
2728
+ # The Amazon Resource Name (ARN) or name of the custom model
2729
+ # deployment to retrieve information about.
2730
+ # @return [String]
2731
+ #
2732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModelDeploymentRequest AWS API Documentation
2733
+ #
2734
+ class GetCustomModelDeploymentRequest < Struct.new(
2735
+ :custom_model_deployment_identifier)
2736
+ SENSITIVE = []
2737
+ include Aws::Structure
2738
+ end
2739
+
2740
+ # @!attribute [rw] custom_model_deployment_arn
2741
+ # The Amazon Resource Name (ARN) of the custom model deployment.
2742
+ # @return [String]
2743
+ #
2744
+ # @!attribute [rw] model_deployment_name
2745
+ # The name of the custom model deployment.
2746
+ # @return [String]
2747
+ #
2748
+ # @!attribute [rw] model_arn
2749
+ # The Amazon Resource Name (ARN) of the custom model associated with
2750
+ # this deployment.
2751
+ # @return [String]
2752
+ #
2753
+ # @!attribute [rw] created_at
2754
+ # The date and time when the custom model deployment was created.
2755
+ # @return [Time]
2756
+ #
2757
+ # @!attribute [rw] status
2758
+ # The status of the custom model deployment. Possible values are:
2759
+ #
2760
+ # * `CREATING` - The deployment is being set up and prepared for
2761
+ # inference.
2762
+ #
2763
+ # * `ACTIVE` - The deployment is ready and available for inference
2764
+ # requests.
2765
+ #
2766
+ # * `FAILED` - The deployment failed to be created or became
2767
+ # unavailable.
2768
+ # @return [String]
2769
+ #
2770
+ # @!attribute [rw] description
2771
+ # The description of the custom model deployment.
2772
+ # @return [String]
2773
+ #
2774
+ # @!attribute [rw] failure_message
2775
+ # If the deployment status is `FAILED`, this field contains a message
2776
+ # describing the failure reason.
2777
+ # @return [String]
2778
+ #
2779
+ # @!attribute [rw] last_updated_at
2780
+ # The date and time when the custom model deployment was last updated.
2781
+ # @return [Time]
2782
+ #
2783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModelDeploymentResponse AWS API Documentation
2784
+ #
2785
+ class GetCustomModelDeploymentResponse < Struct.new(
2786
+ :custom_model_deployment_arn,
2787
+ :model_deployment_name,
2788
+ :model_arn,
2789
+ :created_at,
2790
+ :status,
2791
+ :description,
2792
+ :failure_message,
2793
+ :last_updated_at)
2794
+ SENSITIVE = []
2795
+ include Aws::Structure
2796
+ end
2797
+
2582
2798
  # @!attribute [rw] model_identifier
2583
2799
  # Name or Amazon Resource Name (ARN) of the custom model.
2584
2800
  # @return [String]
@@ -5535,6 +5751,32 @@ module Aws::Bedrock
5535
5751
  include Aws::Structure
5536
5752
  end
5537
5753
 
5754
+ # Configuration for implicit filtering in Knowledge Base vector
5755
+ # searches. Implicit filtering allows you to automatically filter search
5756
+ # results based on metadata attributes without requiring explicit filter
5757
+ # expressions in each query.
5758
+ #
5759
+ # @!attribute [rw] metadata_attributes
5760
+ # A list of metadata attribute schemas that define the structure and
5761
+ # properties of metadata fields used for implicit filtering. Each
5762
+ # attribute defines a key, type, and optional description.
5763
+ # @return [Array<Types::MetadataAttributeSchema>]
5764
+ #
5765
+ # @!attribute [rw] model_arn
5766
+ # The Amazon Resource Name (ARN) of the foundation model used for
5767
+ # implicit filtering. This model processes the query to extract
5768
+ # relevant filtering criteria.
5769
+ # @return [String]
5770
+ #
5771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ImplicitFilterConfiguration AWS API Documentation
5772
+ #
5773
+ class ImplicitFilterConfiguration < Struct.new(
5774
+ :metadata_attributes,
5775
+ :model_arn)
5776
+ SENSITIVE = [:metadata_attributes]
5777
+ include Aws::Structure
5778
+ end
5779
+
5538
5780
  # Information about the imported model.
5539
5781
  #
5540
5782
  # @!attribute [rw] model_arn
@@ -5860,12 +6102,27 @@ module Aws::Bedrock
5860
6102
  # base data sources before returning results.
5861
6103
  # @return [Types::RetrievalFilter]
5862
6104
  #
6105
+ # @!attribute [rw] implicit_filter_configuration
6106
+ # Configuration for implicit filtering in Knowledge Base vector
6107
+ # searches. This allows the system to automatically apply filters
6108
+ # based on the query context without requiring explicit filter
6109
+ # expressions.
6110
+ # @return [Types::ImplicitFilterConfiguration]
6111
+ #
6112
+ # @!attribute [rw] reranking_configuration
6113
+ # Configuration for reranking search results in Knowledge Base vector
6114
+ # searches. Reranking improves search relevance by reordering initial
6115
+ # vector search results using more sophisticated relevance models.
6116
+ # @return [Types::VectorSearchRerankingConfiguration]
6117
+ #
5863
6118
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/KnowledgeBaseVectorSearchConfiguration AWS API Documentation
5864
6119
  #
5865
6120
  class KnowledgeBaseVectorSearchConfiguration < Struct.new(
5866
6121
  :number_of_results,
5867
6122
  :override_search_type,
5868
- :filter)
6123
+ :filter,
6124
+ :implicit_filter_configuration,
6125
+ :reranking_configuration)
5869
6126
  SENSITIVE = [:filter]
5870
6127
  include Aws::Structure
5871
6128
  end
@@ -5884,6 +6141,81 @@ module Aws::Bedrock
5884
6141
  include Aws::Structure
5885
6142
  end
5886
6143
 
6144
+ # @!attribute [rw] created_before
6145
+ # Filters deployments created before the specified date and time.
6146
+ # @return [Time]
6147
+ #
6148
+ # @!attribute [rw] created_after
6149
+ # Filters deployments created after the specified date and time.
6150
+ # @return [Time]
6151
+ #
6152
+ # @!attribute [rw] name_contains
6153
+ # Filters deployments whose names contain the specified string.
6154
+ # @return [String]
6155
+ #
6156
+ # @!attribute [rw] max_results
6157
+ # The maximum number of results to return in a single call.
6158
+ # @return [Integer]
6159
+ #
6160
+ # @!attribute [rw] next_token
6161
+ # The token for the next set of results. Use this token to retrieve
6162
+ # additional results when the response is truncated.
6163
+ # @return [String]
6164
+ #
6165
+ # @!attribute [rw] sort_by
6166
+ # The field to sort the results by. The only supported value is
6167
+ # `CreationTime`.
6168
+ # @return [String]
6169
+ #
6170
+ # @!attribute [rw] sort_order
6171
+ # The sort order for the results. Valid values are `Ascending` and
6172
+ # `Descending`. Default is `Descending`.
6173
+ # @return [String]
6174
+ #
6175
+ # @!attribute [rw] status_equals
6176
+ # Filters deployments by status. Valid values are `CREATING`,
6177
+ # `ACTIVE`, and `FAILED`.
6178
+ # @return [String]
6179
+ #
6180
+ # @!attribute [rw] model_arn_equals
6181
+ # Filters deployments by the Amazon Resource Name (ARN) of the
6182
+ # associated custom model.
6183
+ # @return [String]
6184
+ #
6185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelDeploymentsRequest AWS API Documentation
6186
+ #
6187
+ class ListCustomModelDeploymentsRequest < Struct.new(
6188
+ :created_before,
6189
+ :created_after,
6190
+ :name_contains,
6191
+ :max_results,
6192
+ :next_token,
6193
+ :sort_by,
6194
+ :sort_order,
6195
+ :status_equals,
6196
+ :model_arn_equals)
6197
+ SENSITIVE = []
6198
+ include Aws::Structure
6199
+ end
6200
+
6201
+ # @!attribute [rw] next_token
6202
+ # The token for the next set of results. This value is null when there
6203
+ # are no more results to return.
6204
+ # @return [String]
6205
+ #
6206
+ # @!attribute [rw] model_deployment_summaries
6207
+ # A list of custom model deployment summaries.
6208
+ # @return [Array<Types::CustomModelDeploymentSummary>]
6209
+ #
6210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelDeploymentsResponse AWS API Documentation
6211
+ #
6212
+ class ListCustomModelDeploymentsResponse < Struct.new(
6213
+ :next_token,
6214
+ :model_deployment_summaries)
6215
+ SENSITIVE = []
6216
+ include Aws::Structure
6217
+ end
6218
+
5887
6219
  # @!attribute [rw] creation_time_before
5888
6220
  # Return custom models created before the specified time.
5889
6221
  # @return [Time]
@@ -7020,6 +7352,62 @@ module Aws::Bedrock
7020
7352
  include Aws::Structure
7021
7353
  end
7022
7354
 
7355
+ # Defines the schema for a metadata attribute used in Knowledge Base
7356
+ # vector searches. Metadata attributes provide additional context for
7357
+ # documents and can be used for filtering and reranking search results.
7358
+ #
7359
+ # @!attribute [rw] key
7360
+ # The unique identifier for the metadata attribute. This key is used
7361
+ # to reference the attribute in filter expressions and reranking
7362
+ # configurations.
7363
+ # @return [String]
7364
+ #
7365
+ # @!attribute [rw] type
7366
+ # The data type of the metadata attribute. The type determines how the
7367
+ # attribute can be used in filter expressions and reranking.
7368
+ # @return [String]
7369
+ #
7370
+ # @!attribute [rw] description
7371
+ # An optional description of the metadata attribute that provides
7372
+ # additional context about its purpose and usage.
7373
+ # @return [String]
7374
+ #
7375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/MetadataAttributeSchema AWS API Documentation
7376
+ #
7377
+ class MetadataAttributeSchema < Struct.new(
7378
+ :key,
7379
+ :type,
7380
+ :description)
7381
+ SENSITIVE = []
7382
+ include Aws::Structure
7383
+ end
7384
+
7385
+ # Configuration for how metadata should be used during the reranking
7386
+ # process in Knowledge Base vector searches. This determines which
7387
+ # metadata fields are included or excluded when reordering search
7388
+ # results.
7389
+ #
7390
+ # @!attribute [rw] selection_mode
7391
+ # The mode for selecting which metadata fields to include in the
7392
+ # reranking process. Valid values are ALL (use all available metadata
7393
+ # fields) or SELECTIVE (use only specified fields).
7394
+ # @return [String]
7395
+ #
7396
+ # @!attribute [rw] selective_mode_configuration
7397
+ # Configuration for selective mode, which allows you to explicitly
7398
+ # include or exclude specific metadata fields during reranking. This
7399
+ # is only used when selectionMode is set to SELECTIVE.
7400
+ # @return [Types::RerankingMetadataSelectiveModeConfiguration]
7401
+ #
7402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/MetadataConfigurationForReranking AWS API Documentation
7403
+ #
7404
+ class MetadataConfigurationForReranking < Struct.new(
7405
+ :selection_mode,
7406
+ :selective_mode_configuration)
7407
+ SENSITIVE = []
7408
+ include Aws::Structure
7409
+ end
7410
+
7023
7411
  # Contains details about each model copy job.
7024
7412
  #
7025
7413
  # This data type is used in the following API operations:
@@ -7986,6 +8374,43 @@ module Aws::Bedrock
7986
8374
  class Unknown < RequestMetadataFilters; end
7987
8375
  end
7988
8376
 
8377
+ # Configuration for selectively including or excluding metadata fields
8378
+ # during the reranking process. This allows you to control which
8379
+ # metadata attributes are considered when reordering search results.
8380
+ #
8381
+ # @note RerankingMetadataSelectiveModeConfiguration is a union - when making an API calls you must set exactly one of the members.
8382
+ #
8383
+ # @note RerankingMetadataSelectiveModeConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RerankingMetadataSelectiveModeConfiguration corresponding to the set member.
8384
+ #
8385
+ # @!attribute [rw] fields_to_include
8386
+ # A list of metadata field names to explicitly include in the
8387
+ # reranking process. Only these fields will be considered when
8388
+ # reordering search results. This parameter cannot be used together
8389
+ # with fieldsToExclude.
8390
+ # @return [Array<Types::FieldForReranking>]
8391
+ #
8392
+ # @!attribute [rw] fields_to_exclude
8393
+ # A list of metadata field names to explicitly exclude from the
8394
+ # reranking process. All metadata fields except these will be
8395
+ # considered when reordering search results. This parameter cannot be
8396
+ # used together with fieldsToInclude.
8397
+ # @return [Array<Types::FieldForReranking>]
8398
+ #
8399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RerankingMetadataSelectiveModeConfiguration AWS API Documentation
8400
+ #
8401
+ class RerankingMetadataSelectiveModeConfiguration < Struct.new(
8402
+ :fields_to_include,
8403
+ :fields_to_exclude,
8404
+ :unknown)
8405
+ SENSITIVE = [:fields_to_include, :fields_to_exclude]
8406
+ include Aws::Structure
8407
+ include Aws::Structure::Union
8408
+
8409
+ class FieldsToInclude < RerankingMetadataSelectiveModeConfiguration; end
8410
+ class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration; end
8411
+ class Unknown < RerankingMetadataSelectiveModeConfiguration; end
8412
+ end
8413
+
7989
8414
  # The specified resource Amazon Resource Name (ARN) was not found. Check
7990
8415
  # the Amazon Resource Name (ARN) and try your request again.
7991
8416
  #
@@ -8978,6 +9403,90 @@ module Aws::Bedrock
8978
9403
  include Aws::Structure
8979
9404
  end
8980
9405
 
9406
+ # Configuration for using Amazon Bedrock foundation models to rerank
9407
+ # Knowledge Base vector search results. This enables more sophisticated
9408
+ # relevance ranking using large language models.
9409
+ #
9410
+ # @!attribute [rw] model_configuration
9411
+ # Configuration for the Amazon Bedrock foundation model used for
9412
+ # reranking. This includes the model ARN and any additional request
9413
+ # fields required by the model.
9414
+ # @return [Types::VectorSearchBedrockRerankingModelConfiguration]
9415
+ #
9416
+ # @!attribute [rw] number_of_reranked_results
9417
+ # The maximum number of results to rerank. This limits how many of the
9418
+ # initial vector search results will be processed by the reranking
9419
+ # model. A smaller number improves performance but may exclude
9420
+ # potentially relevant results.
9421
+ # @return [Integer]
9422
+ #
9423
+ # @!attribute [rw] metadata_configuration
9424
+ # Configuration for how document metadata should be used during the
9425
+ # reranking process. This determines which metadata fields are
9426
+ # included when reordering search results.
9427
+ # @return [Types::MetadataConfigurationForReranking]
9428
+ #
9429
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/VectorSearchBedrockRerankingConfiguration AWS API Documentation
9430
+ #
9431
+ class VectorSearchBedrockRerankingConfiguration < Struct.new(
9432
+ :model_configuration,
9433
+ :number_of_reranked_results,
9434
+ :metadata_configuration)
9435
+ SENSITIVE = []
9436
+ include Aws::Structure
9437
+ end
9438
+
9439
+ # Configuration for the Amazon Bedrock foundation model used for
9440
+ # reranking vector search results. This specifies which model to use and
9441
+ # any additional parameters required by the model.
9442
+ #
9443
+ # @!attribute [rw] model_arn
9444
+ # The Amazon Resource Name (ARN) of the foundation model to use for
9445
+ # reranking. This model processes the query and search results to
9446
+ # determine a more relevant ordering.
9447
+ # @return [String]
9448
+ #
9449
+ # @!attribute [rw] additional_model_request_fields
9450
+ # A list of additional fields to include in the model request during
9451
+ # reranking. These fields provide extra context or configuration
9452
+ # options specific to the selected foundation model.
9453
+ # @return [Hash<String,Hash,Array,String,Numeric,Boolean>]
9454
+ #
9455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/VectorSearchBedrockRerankingModelConfiguration AWS API Documentation
9456
+ #
9457
+ class VectorSearchBedrockRerankingModelConfiguration < Struct.new(
9458
+ :model_arn,
9459
+ :additional_model_request_fields)
9460
+ SENSITIVE = []
9461
+ include Aws::Structure
9462
+ end
9463
+
9464
+ # Configuration for reranking vector search results to improve
9465
+ # relevance. Reranking applies additional relevance models to reorder
9466
+ # the initial vector search results based on more sophisticated
9467
+ # criteria.
9468
+ #
9469
+ # @!attribute [rw] type
9470
+ # The type of reranking to apply to vector search results. Currently,
9471
+ # the only supported value is BEDROCK, which uses Amazon Bedrock
9472
+ # foundation models for reranking.
9473
+ # @return [String]
9474
+ #
9475
+ # @!attribute [rw] bedrock_reranking_configuration
9476
+ # Configuration for using Amazon Bedrock foundation models to rerank
9477
+ # search results. This is required when the reranking type is set to
9478
+ # BEDROCK.
9479
+ # @return [Types::VectorSearchBedrockRerankingConfiguration]
9480
+ #
9481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/VectorSearchRerankingConfiguration AWS API Documentation
9482
+ #
9483
+ class VectorSearchRerankingConfiguration < Struct.new(
9484
+ :type,
9485
+ :bedrock_reranking_configuration)
9486
+ SENSITIVE = []
9487
+ include Aws::Structure
9488
+ end
9489
+
8981
9490
  # The configuration of a virtual private cloud (VPC). For more
8982
9491
  # information, see [Protect your data using Amazon Virtual Private Cloud
8983
9492
  # and Amazon Web Services PrivateLink][1].
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.52.0'
58
+ GEM_VERSION = '1.54.0'
59
59
 
60
60
  end
61
61