Response

@Serializable
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 val role: Message.Role

The role associated with the message.