response.content_part.done
开发中wss://api.openai.com/v1/realtime
Returned when a content part is done streaming in an assistant message item. Also emitted when a Response is interrupted, incomplete, or cancelled.
请求参数
Query 参数
event_id
string
可选
The unique ID of the server event.
示例值:
event_3940
type
string
可选
The event type, must be "response.content_part.done".
示例值:
response.content_part.done
response_id
string
可选
The ID of the response.
示例值:
resp_001
item_id
string
可选
The ID of the item to which the content part was added.
示例值:
msg_007
output_index
integer
可选
The index of the output item in the response.
示例值:
0
content_index
integer
可选
The index of the content part in the item's content array.
示例值:
0
part
string
可选
object类型,以下为其中参数。The content part that was added.
type1
string
可选
The content type ("text", "audio").
text
string
可选
The text content (if type is "text").
audio
string
可选
Base64-encoded audio data (if type is "audio").
transcript
string
可选
The transcript of the audio (if type is "audio").
Header 参数
Authorization
string
可选
示例值:
Bearer YOUR_API_KEY
OpenAI-Beta
string
可选
示例值:
realtime=v1
最后修改时间: 2 个月前