Response
Properties
Link copied to clipboard
The textual content of the message aggregated from all ContentPart.Text parts joined to String separated by newlines.
Link copied to clipboard
Stores metadata information for the current message instance, such as token count and timestamp.
Link copied to clipboard
The content parts of the message. By default, if the message is a single text message, it will contain a single ContentPart.Text part. If the message contains multiple parts, it will contain an ordered list of ContentPart.Text and ContentPart.Attachment instances.
Link copied to clipboard
The role associated with the message.
Functions
Link copied to clipboard
Creates a copy of the current Response instance with updated metadata.
Link copied to clipboard
Checks weather the message consists of attachments.
Link copied to clipboard
Checks weather the message consists of only sungle text content.
Link copied to clipboard
Converts a Message.Response to a StreamFrame.