Message

class Message

A message input or response from a model. For more information, see Create a prompt using Prompt management.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The content in the message.

Link copied to clipboard

The role that the message belongs to.

Functions

Link copied to clipboard
inline fun copy(block: Message.Builder.() -> Unit = {}): Message
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String