Interface Message.Builder

    • Method Detail

      • role

        Message.Builder role​(String role)

        The role that the message plays in the message.

        Parameters:
        role - The role that the message plays in the message.
        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 message content.

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

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

        The message content.

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