

# BedrockRerankingConfiguration
<a name="API_agent-runtime_BedrockRerankingConfiguration"></a>

Contains configurations for an Amazon Bedrock reranker model.

## Contents
<a name="API_agent-runtime_BedrockRerankingConfiguration_Contents"></a>

 ** modelConfiguration **   <a name="bedrock-Type-agent-runtime_BedrockRerankingConfiguration-modelConfiguration"></a>
Contains configurations for a reranker model.  
Type: [BedrockRerankingModelConfiguration](API_agent-runtime_BedrockRerankingModelConfiguration.md) object  
Required: Yes

 ** numberOfResults **   <a name="bedrock-Type-agent-runtime_BedrockRerankingConfiguration-numberOfResults"></a>
The number of results to return after reranking.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1000.  
Required: No

## See Also
<a name="API_agent-runtime_BedrockRerankingConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-runtime-2023-07-26/BedrockRerankingConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/BedrockRerankingConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/BedrockRerankingConfiguration) 