OpenAI::MessageDeltaObjectDelta
Inherits JSON::Serializable < Reference < Object
The delta containing the fields that have changed on the Message.
Constructors
new(pull : JSON::PullParser)
Sourcenew(role : MessageDeltaObjectDeltaRole | Nil = nil, content : Array(MessageContentDelta) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
The content of the message in array of text and/or images.
role=(role : MessageDeltaObjectDeltaRole | Nil)
The entity that produced the message. One of user or assistant.