Interface ReasoningContentBlockDelta.Builder

    • Method Detail

      • text

        ReasoningContentBlockDelta.Builder text​(String text)

        The reasoning that the model used to return the output.

        Parameters:
        text - The reasoning that the model used to return the output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • redactedContent

        ReasoningContentBlockDelta.Builder redactedContent​(SdkBytes redactedContent)

        The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.

        Parameters:
        redactedContent - The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • signature

        ReasoningContentBlockDelta.Builder signature​(String signature)

        A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.

        Parameters:
        signature - A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.