intellibrix v1.0.0
    Preparing search index...

    Function textMessage

    • Convenience constructor for a single-text-part Message.

      Parameters

      • role: Role

        The role of the message's author.

      • text: string

        The text content of the message.

      • Optionaltrust: Trust

        The trust level of the text content. Defaults to 'trusted' when omitted.

      Returns Message