class

OpenAI::MessageRequestContentTextObject

Inherits JSON::Serializable < Reference < Object

The text content that is part of a message.

Constructors

new(type_value : MessageRequestContentTextObjectType = MessageRequestContentTextObjectType::Text, text : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

text

Text content to be sent to the model

Source
text=(text : String)

Text content to be sent to the model

Source
type_value

Always text.

Source
type_value=(type_value : MessageRequestContentTextObjectType)

Always text.

Source