Interface Message.Builder

    • Method Detail

      • role

        Message.Builder role​(String role)

        The role that the message belongs to.

        Parameters:
        role - The role that the message belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConversationRole, ConversationRole
      • content

        Message.Builder content​(Collection<ContentBlock> content)

        The content in the message.

        Parameters:
        content - The content in the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        Message.Builder content​(ContentBlock... content)

        The content in the message.

        Parameters:
        content - The content in the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.