case developer
s6OpenAI9ChatQueryV0C22CompletionMessageParamO4RoleO9developeryA2GmF
5SY2K
import OpenAI
enum Role
struct ChatQuery
Creates a model response for the given chat conversation https://platform.openai.com/docs/guides/text-generation
enum ChatCompletionMessageParam
case system
case user
case assistant
case tool