Interface CitationsDelta.Builder

    • Method Detail

      • title

        CitationsDelta.Builder title​(String title)

        The title or identifier of the source document being cited.

        Parameters:
        title - The title or identifier of the source document being cited.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceContent

        CitationsDelta.Builder sourceContent​(Collection<CitationSourceContentDelta> sourceContent)

        The specific content from the source document that was referenced or cited in the generated response.

        Parameters:
        sourceContent - The specific content from the source document that was referenced or cited in the generated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceContent

        CitationsDelta.Builder sourceContent​(CitationSourceContentDelta... sourceContent)

        The specific content from the source document that was referenced or cited in the generated response.

        Parameters:
        sourceContent - The specific content from the source document that was referenced or cited in the generated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        CitationsDelta.Builder location​(CitationLocation location)

        Specifies the precise location within a source document where cited content can be found. This can include character-level positions, page numbers, or document chunks depending on the document type and indexing method.

        Parameters:
        location - Specifies the precise location within a source document where cited content can be found. This can include character-level positions, page numbers, or document chunks depending on the document type and indexing method.
        Returns:
        Returns a reference to this object so that method calls can be chained together.