Response

sealed interface Response : Message(source)

Represents a response message in the chat.

Inheritors

Properties

Link copied to clipboard
abstract val content: String

The content of the message.

Link copied to clipboard
abstract override val metaInfo: ResponseMetaInfo

Stores metadata information for the current message instance, such as token count and timestamp.

Link copied to clipboard
abstract val role: Message.Role

The role associated with the message.