OpenAIMessage
Types
Link copied to clipboard
class Assistant(val content: Content? = null, val audio: OpenAIAudio? = null, val name: String? = null, val refusal: String? = null, val toolCalls: List<OpenAIToolCall>? = null, val annotations: List<OpenAIWebUrlCitation>? = null) : OpenAIMessage
Messages sent by the model in response to user messages.
Link copied to clipboard
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, developer
messages replace the previous system
messages.
Link copied to clipboard
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, use developer messages for this purpose instead.
Link copied to clipboard
Link copied to clipboard
Messages sent by an end user, containing prompts or additional context information.