OpenAI::ResponseTextParam
Inherits JSON::Serializable < Reference < Object
Configuration options for a text response from the model. Can be plain text or structured JSON data. Learn more:
Constructors
new(pull : JSON::PullParser)
Sourcenew(format : TextResponseFormatConfiguration | Nil = nil, verbosity : Verbosity | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
format
Sourceformat=(format : TextResponseFormatConfiguration | Nil)
Sourceverbosity
Sourceverbosity=(verbosity : Verbosity | Nil)
Source