class

OpenAI::MessageDeltaContentTextObject

Inherits JSON::Serializable < Reference < Object

The text content that is part of a message.

Constructors

new(index : Int64 = 0, type_value : MessageDeltaContentTextObjectType = MessageDeltaContentTextObjectType::Text, text : MessageDeltaContentTextObjectText | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

index

The index of the content part in the message.

Source
index=(index : Int64)

The index of the content part in the message.

Source
text
Source
text=(text : MessageDeltaContentTextObjectText | Nil)
Source
type_value

Always text.

Source
type_value=(type_value : MessageDeltaContentTextObjectType)

Always text.

Source