MessageItem interface
A message item within a conversation.
- Extends
Properties
| content | The content parts of the message. |
| role | The discriminator possible values: assistant, system, user |
| status | Processing status of the message item. |
| type | The type of the item; must be 'message' for message items. |
Inherited Properties
| id |
Property Details
content
The content parts of the message.
content: MessageContentPartUnion[]
Property Value
role
The discriminator possible values: assistant, system, user
role: string
Property Value
string
status
Processing status of the message item.
status?: string
Property Value
string
type
The type of the item; must be 'message' for message items.
type: "message"
Property Value
"message"