AI::Provider::LanguageModel::ResponseFormat
Inherits JSON::Serializable < Struct < Value < Object
Response format configuration.
Constructors
json(schema : JSON::Any | Nil = nil, name : String | Nil = nil, description : String | Nil = nil) : ResponseFormat
Sourcenew(pull : JSON::PullParser)
Sourcenew(type : ResponseFormatType, schema : JSON::Any | Nil = nil, name : String | Nil = nil, description : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcetext
SourceInstance methods
type
Source