Interface ReasoningTextBlock.Builder

  • Method Details

    • 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.
    • signature

      ReasoningTextBlock.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.