Interface RerankingMetadataSelectiveModeConfiguration.Builder

    • Method Detail

      • fieldsToExclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude​(Collection<FieldForReranking> fieldsToExclude)

        An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.

        Parameters:
        fieldsToExclude - An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldsToExclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude​(FieldForReranking... fieldsToExclude)

        An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.

        Parameters:
        fieldsToExclude - An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldsToInclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude​(Collection<FieldForReranking> fieldsToInclude)

        An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.

        Parameters:
        fieldsToInclude - An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldsToInclude

        RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude​(FieldForReranking... fieldsToInclude)

        An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.

        Parameters:
        fieldsToInclude - An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.