Interface TextResponsePart.Builder

    • Method Detail

      • span

        TextResponsePart.Builder span​(Span span)

        Contains information about where the text with a citation begins and ends in the generated output.

        Parameters:
        span - Contains information about where the text with a citation begins and ends in the generated output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • text

        TextResponsePart.Builder text​(String text)

        The part of the generated text that contains a citation.

        Parameters:
        text - The part of the generated text that contains a citation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.