Interface BedrockRerankingModelConfiguration.Builder

  • Method Details

    • additionalModelRequestFields

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

      A JSON object whose keys are request fields for the model and whose values are values for those fields.

      Parameters:
      additionalModelRequestFields - A JSON object whose keys are request fields for the model and whose values are values for those fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelArn

      The ARN of the reranker model.

      Parameters:
      modelArn - The ARN of the reranker model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.