response.output_item.added
开发中wss://api.openai.com/v1/realtime
Returned when a new Item is created during response generation.
请求参数
Query 参数
event_id
string
可选
The unique ID of the server event.
示例值:
event_3334
type
string
可选
The event type, must be "response.output_item.added".
示例值:
response.output_item.added
response_id
string
可选
The ID of the response to which the item belongs.
示例值:
resp_001
output_index
string
可选
The index of the output item in the response.
示例值:
0
item
string
可选
object类型,以下为其中参数
id
string
可选
The unique ID of the item.
示例值:
msg_007
object
string
可选
The object type, must be "realtime.item".
示例值:
realtime.item
type1
string
可选
为type,The type of the item ("message", "function_call", "function_call_output").
示例值:
message
status
string
可选
The status of the item ("in_progress", "completed").
示例值:
in_progress
role
string
可选
The role associated with the item ("assistant").
示例值:
assistant
content
array[string]
可选
The content of the item.
示例值:
["type","text","audio","transcript"]
Header 参数
Authorization
string
可选
示例值:
Bearer YOUR_API_KEY
OpenAI-Beta
string
可选
示例值:
realtime=v1
最后修改时间: 2 个月前