ToolChoiceFunction interface

使用此選項可強制模型呼叫特定函式。

Extends

屬性

name

要呼叫的函式名稱。

type

針對函式呼叫,類型一律為function

屬性詳細資料

name

要呼叫的函式名稱。

name: string

屬性值

string

type

針對函式呼叫,類型一律為function

type: "function"

屬性值

"function"