RealtimeServerEventResponseFunctionCallArgumentsDone interface

當模型產生的函式呼叫參數串流完成後,會回傳。 當回應被中斷、不完整或取消時也會發出。

Extends

屬性

arguments

最後的參數會以 JSON 字串的形式呈現。

call_id

函式呼叫的 ID。

event_id

伺服器事件的唯一 ID。

item_id

函式呼叫項目的 ID。

name

被呼叫的函式名稱。

output_index

回應中輸出項目的索引。

response_id

回應的識別。

type

事件類型 必須是 response.function_call_arguments.done。

屬性詳細資料

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

回應的識別。

response_id: string

屬性值

string

type

事件類型 必須是 response.function_call_arguments.done。

type: "response.function_call_arguments.done"

屬性值

"response.function_call_arguments.done"