OpenAI::ResponseFormatText
Inherits JSON::Serializable < Reference < Object
Default response format. Used to generate text responses.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseFormatTextType = ResponseFormatTextType::Text)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ResponseFormatTextType)
The type of response format being defined. Always text.