ServerEventResponseOutputItemDone interface
Returned when an Item is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.
- Extends
Properties
| item | |
| output |
The index of the output item in the Response. |
| response |
The ID of the Response to which the item belongs. |
| type | The event type, must be |
Inherited Properties
| event |
Property Details
item
outputIndex
The index of the output item in the Response.
outputIndex: number
Property Value
number
responseId
The ID of the Response to which the item belongs.
responseId: string
Property Value
string
type
The event type, must be response.output_item.done.
type: "response.output_item.done"
Property Value
"response.output_item.done"