Instance Propertymacpaw.openai 0.3.2OpenAI
minimum
ChatQuery.swift:1186let minimum: Double?
let minimum: Double?
import OpenAI
struct Property
struct JSONSchema
See the guide for examples, and the JSON Schema reference for documentation about the format.
@frozen struct Double
A double-precision, floating-point value type.
init(from decoder: any Decoder) throws
init(type: JSONType, description: String? = nil, format: String? = nil, items: Items? = nil, required: [String]? = nil, pattern: String? = nil, const: String? = nil, enumValues: [String]? = nil, multipleOf: Int? = nil, minimum: Double? = nil, maximum: Double? = nil, minItems: Int? = nil, maxItems: Int? = nil, uniqueItems: Bool? = nil)
let const: String?
let description: String?
let enumValues: [String]?
let format: String?
let items: Items?
let maxItems: Int?
let maximum: Double?
let minItems: Int?
let multipleOf: Int?
let pattern: String?
let required: [String]?
let type: JSONType
let uniqueItems: Bool?