class

OpenAI::MessageDeltaObjectDelta

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(role : MessageDeltaObjectDeltaRole | Nil = nil, content : Array(MessageContentDelta) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

content

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

Source
content=(content : Array(MessageContentDelta) | Nil)

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

Source
role

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

Source
role=(role : MessageDeltaObjectDeltaRole | Nil)

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

Source