class

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(format : TextResponseFormatConfiguration | Nil = nil, verbosity : Verbosity | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

format
Source
format=(format : TextResponseFormatConfiguration | Nil)
Source
verbosity
Source
verbosity=(verbosity : Verbosity | Nil)
Source