Interface BedrockRerankingModelConfiguration.Builder

    • Method Detail

      • 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

        BedrockRerankingModelConfiguration.Builder modelArn​(String 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.