Interface VectorSearchBedrockRerankingModelConfiguration.Builder

  • Method Details

    • modelArn

      The Amazon Resource Name (ARN) of the foundation model to use for reranking. This model processes the query and search results to determine a more relevant ordering.

      Parameters:
      modelArn - The Amazon Resource Name (ARN) of the foundation model to use for reranking. This model processes the query and search results to determine a more relevant ordering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalModelRequestFields

      VectorSearchBedrockRerankingModelConfiguration.Builder additionalModelRequestFields(Map<String,Document> additionalModelRequestFields)

      A list of additional fields to include in the model request during reranking. These fields provide extra context or configuration options specific to the selected foundation model.

      Parameters:
      additionalModelRequestFields - A list of additional fields to include in the model request during reranking. These fields provide extra context or configuration options specific to the selected foundation model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.