你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

RealtimeConversationItemFunctionCallOutput interface

一个函数调用实时对话中的输出项。

扩展

属性

call_id

函数调用该输出的ID。

created_at

Unix 时间戳(以秒为单位)表示该项目被持久化的时间。

id

物品的唯一ID。 这些数据可以由客户端提供,也可以由服务器生成。

name

被调用的函数名称。 Foundry 扩展:OpenAI 的 function_call_output 不使用函数名,仅 call_id使用 。

object

返回的API对象标识符——始终 realtime.item为。 创建新物品时可选项。

output

函数调用的输出是自由文本,可以包含任何信息,也可以是空的。

response_id

产生本项目的响应ID(适用时)。

status

项目的状态。 对对话没有影响。

type

项的类型。 始终为 function_call_output。

属性详细信息

call_id

函数调用该输出的ID。

call_id: string

属性值

string

created_at

Unix 时间戳(以秒为单位)表示该项目被持久化的时间。

created_at?: Date

属性值

Date

id

物品的唯一ID。 这些数据可以由客户端提供,也可以由服务器生成。

id?: string

属性值

string

name

被调用的函数名称。 Foundry 扩展:OpenAI 的 function_call_output 不使用函数名,仅 call_id使用 。

name?: string

属性值

string

object

返回的API对象标识符——始终 realtime.item为。 创建新物品时可选项。

object?: "realtime.item"

属性值

"realtime.item"

output

函数调用的输出是自由文本,可以包含任何信息,也可以是空的。

output: string

属性值

string

response_id

产生本项目的响应ID(适用时)。

response_id?: string

属性值

string

status

项目的状态。 对对话没有影响。

status?: "in_progress" | "completed" | "incomplete"

属性值

"in_progress" | "completed" | "incomplete"

type

项的类型。 始终为 function_call_output。

type: "function_call_output"

属性值

"function_call_output"