Interface FixedSizeChunkingConfiguration.Builder

  • Method Details

    • maxTokens

      The maximum number of tokens to include in a chunk.

      Parameters:
      maxTokens - The maximum number of tokens to include in a chunk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overlapPercentage

      FixedSizeChunkingConfiguration.Builder overlapPercentage(Integer overlapPercentage)

      The percentage of overlap between adjacent chunks of a data source.

      Parameters:
      overlapPercentage - The percentage of overlap between adjacent chunks of a data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.