case user
s6OpenAI9ChatQueryV0C22CompletionMessageParamO4RoleO4useryA2GmF
900KV
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 developer
case assistant
case tool