共用方式為


ChatCompletionsToolCall interface

AI 模型所要求的函式工具呼叫。

屬性

function

AI 模型所要求的函數調用詳細數據。

id

工具呼叫的識別碼。

type

工具呼叫的類型。 目前僅支援 function

屬性詳細資料

function

AI 模型所要求的函數調用詳細數據。

function: FunctionCall

屬性值

id

工具呼叫的識別碼。

id: string

屬性值

string

type

工具呼叫的類型。 目前僅支援 function

type: "function"

屬性值

"function"