MessageDeltaData

constructor(role: Role, content: MessageContent)

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.