Interface ReasoningTextBlock.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>, SdkBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>, SdkPojo
Enclosing class:
ReasoningTextBlock

@Mutable @NotThreadSafe public static interface ReasoningTextBlock.Builder extends SdkPojo, CopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>
  • 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.