OutputMessage

constructor(id: String, type: OutputMessage.Type, role: OutputMessage.Role, content: List<OutputContent>, status: OutputMessage.Status)(source)

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.