共用方式為


ChatCompletionsFunctionToolCall interface

評估已設定函式工具時,模型所發出的函式工具呼叫,代表後續聊天完成要求解析所需的函式調用。

Extends

屬性

function

工具呼叫所要求的函式調用詳細數據。

type

工具呼叫的類型,在此案例中一律為 『function』。

繼承的屬性

id

工具呼叫的識別碼。

index

工具呼叫的索引。

屬性詳細資料

function

工具呼叫所要求的函式調用詳細數據。

function: FunctionCall

屬性值

type

工具呼叫的類型,在此案例中一律為 『function』。

type: "function"

屬性值

"function"

繼承的屬性詳細資料

id

工具呼叫的識別碼。

id: string

屬性值

string

繼承自ChatCompletionsToolCall.id

index

工具呼叫的索引。

index?: number

屬性值

number

繼承自ChatCompletionsToolCall.index