Interface DocumentChunkLocation.Builder

    • Method Detail

      • 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

        DocumentChunkLocation.Builder start​(Integer 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

        DocumentChunkLocation.Builder end​(Integer 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.