OpenAI::InputTextContentParam
Inherits JSON::Serializable < Reference < Object
A text input to the model.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : InputTextContentParamType = InputTextContentParamType::InputText, text : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : InputTextContentParamType)
The type of the input item. Always input_text.
validate!
Source