MessageDeltaData

@Serializable
data class MessageDeltaData(val role: Role, val content: MessageContent)

The delta containing the fields that have changed on the message.

Parameters

role

the entity that produced the message. One of user or assistant.

content

the content of the message in array of text and/or images.

Constructors

Link copied to clipboard
constructor(role: Role, content: MessageContent)

Properties

Link copied to clipboard
@SerialName(value = "content")
val content: MessageContent
Link copied to clipboard
@SerialName(value = "role")
val role: Role