class

OpenAI::UserMessageInputText

Inherits JSON::Serializable < Reference < Object

Text block that a user contributed to the thread.

Constructors

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

Instance methods

text

Plain-text content supplied by the user.

Source
text=(text : String)

Plain-text content supplied by the user.

Source
type_value

Type discriminator that is always input_text.

Source
type_value=(type_value : UserMessageInputTextType)

Type discriminator that is always input_text.

Source