OutputMessage
data class OutputMessage(val id: String, val type: OutputMessage.Type, val role: OutputMessage.Role, val content: List<OutputContent>, val status: OutputMessage.Status)(source)
An output message from the model.
Parameters
id
The unique ID of the output message.
type
The type of the output message. Always message.
role
The role of the output message. Always assistant.
content
The content of the output message.
status
The status of the message input. One of in_progress, completed, or incomplete. Populated when input items are returned via API.
Constructors
Link copied to clipboard
constructor(id: String, type: OutputMessage.Type, role: OutputMessage.Role, content: List<OutputContent>, status: OutputMessage.Status)
Types
Link copied to clipboard
The role of the output message. Always assistant.
Link copied to clipboard
The status of the message input. One of in_progress, completed, or incomplete. Populated when input items are returned via API.
Link copied to clipboard
The type of the output message. Always message.