ServerEventResponseContentPartAdded interface
Returned when a new content part is added to an assistant message item during response generation.
- Extends
Properties
| content |
The index of the content part in the item's content array. |
| item |
The ID of the item to which the content part was added. |
| output |
The index of the output item in the response. |
| part | The content part that was added. |
| response |
The ID of the response. |
| type | The event type, must be |
Inherited Properties
| event |
Property Details
contentIndex
The index of the content part in the item's content array.
contentIndex: number
Property Value
number
itemId
The ID of the item to which the content part was added.
itemId: string
Property Value
string
outputIndex
The index of the output item in the response.
outputIndex: number
Property Value
number
part
responseId
The ID of the response.
responseId: string
Property Value
string
type
The event type, must be response.content_part.added.
type: "response.content_part.added"
Property Value
"response.content_part.added"