class

OpenAI::InputTextContentParam

Inherits JSON::Serializable < Reference < Object

A text input to the model.

Constructors

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

Instance methods

text

The text input to the model.

Source
text=(text : String)

The text input to the model.

Source
type_value

The type of the input item. Always input_text.

Source
type_value=(type_value : InputTextContentParamType)

The type of the input item. Always input_text.

Source
validate!
Source