conversation.item.truncate
开发中wss://api.openai.com/v1/realtime
Send this event when you want to truncate a previous assistant message’s audio.
请求参数
Query 参数
event_id
string
可选
Optional client-generated ID used to identify this event.
示例值:
event_678
type
string
可选
The event type, must be "conversation.item.truncate".
示例值:
conversation.item.truncate
item_id
string
可选
The ID of the assistant message item to truncate.
示例值:
msg_002
content_index
integer
可选
The index of the content part to truncate.
示例值:
0
audio_end_ms
integer
可选
Inclusive duration up to which audio is truncated, in milliseconds.
示例值:
1500
Header 参数
Authorization
string
可选
示例值:
Bearer YOUR_API_KEY
OpenAI-Beta
string
可选
示例值:
realtime=v1
最后修改时间: 2 个月前