Interface DocumentChunkLocation.Builder

  • Method Details

    • documentIndex

      DocumentChunkLocation.Builder documentIndex(Integer documentIndex)

      The index of the document within the array of documents provided in the request.

      Parameters:
      documentIndex - The index of the document within the array of documents provided in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • start

      The starting chunk identifier or index of the cited content within the document.

      Parameters:
      start - The starting chunk identifier or index of the cited content within the document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • end

      The ending chunk identifier or index of the cited content within the document.

      Parameters:
      end - The ending chunk identifier or index of the cited content within the document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.