Enumeration Casemacpaw.openai 0.3.2OpenAI
system(_:)
ChatQuery.swift:113case system(Self.SystemMessageParam)
case system(Self.SystemMessageParam)
s6OpenAI9ChatQueryV0C22CompletionMessageParamO6systemyA2E06SystemfG0VcAEmF
What are these?426ZP
import OpenAI
enum ChatCompletionMessageParam
struct ChatQuery
Creates a model response for the given chat conversation https://platform.openai.com/docs/guides/text-generation
struct SystemMessageParam
case developer(Self.DeveloperMessageParam)
case user(Self.UserMessageParam)
case assistant(Self.AssistantMessageParam)
case tool(Self.ToolMessageParam)