Create
struct Create
Request model for holding create
-
model: required*
Declaration
Swift
public var model: String
-
input: optional
Declaration
Swift
public var input: String?
-
instruction: required*
Declaration
Swift
public var instruction: String
-
n: optional
Declaration
Swift
public var n: Int?
-
temperature: optional
Declaration
Swift
public var temperature: Double?
-
top_p: optional
Declaration
Swift
public var top_p: Double?
-
Init function for creating request
Declaration
Swift
public init(model: String, input: String? = nil, instruction: String, n: Int? = nil, temperature: Double? = nil, top_p: Double? = nil)