RealtimeServerEventResponseFunctionCallArgumentsDone interface
当模型生成函数调用参数流式传输完成后返回。 当响应被中断、不完整或取消时也会发出。
属性
| arguments | 最后的参数以JSON字符串形式处理。 |
| call_id | 函数调用的ID。 |
| event_id | 服务器事件的唯一 ID。 |
| item_id | 函数调用项的ID。 |
| name | 被调用的函数名称。 |
| output_index | 回答中输出项的索引。 |
| response_id | 回复的ID。 |
| type | 事件类型 必须是 |
属性详细信息
arguments
最后的参数以JSON字符串形式处理。
arguments: string
属性值
string
call_id
函数调用的ID。
call_id: string
属性值
string
event_id
服务器事件的唯一 ID。
event_id: string
属性值
string
item_id
函数调用项的ID。
item_id: string
属性值
string
name
被调用的函数名称。
name: string
属性值
string
output_index
回答中输出项的索引。
output_index: number
属性值
number
response_id
回复的ID。
response_id: string
属性值
string
type
事件类型 必须是 response.function_call_arguments.done。
type: "response.function_call_arguments.done"
属性值
"response.function_call_arguments.done"