Initializermacpaw.openai 0.3.2OpenAI
init(string:)
ChatQuery.swift:645init(string: String)
init(string: String)
import OpenAI
enum Stop
struct ChatQuery
Creates a model response for the given chat conversation https://platform.openai.com/docs/guides/text-generation
@frozen struct String
A Unicode string value that is a collection of characters.
init(from decoder: any Decoder) throws
init(stringList: [String])
func encode(to encoder: Encoder) throws